Creating opensearch-node1 ... error

Hi team - I have been installing opensearch and all is good, but when running the opensearch dashboard in the docker I get this problem ? - I run all in docker

Creating network “openserach_opensearch-net” with the default driver
Creating opensearch-node1 … error
Creating opensearch-node2 …
Creating opensearch-dashboards …

ERROR: for opensearch-node1 Cannot create container for service opensearch-node1: Conflict. The container namCreating opensearch-node2 … error
8928813a". You have to remove (or rename) that container to be able to reuse that name.

ERROR: for opensearch-node2 Cannot create container for service opensearch-node2: Conflict. The container name “/opensearch-node2” is already in use by container "b4390bc8b9ee21fa7c795a71ae32185dfae20a9cd2abe6474d7c4da6Creating opensearch-dashboards … error

ERROR: for opensearch-dashboards Cannot create container for service opensearch-dashboards: Conflict. The container name “/opensearch-dashboards” is already in use by container “44bc9c5de1a166ed58b4678f666114b6218bb9e1fb5b54c1225ef7eca0a0dd1f”. You have to remove (or rename) that container to be able to reuse that name.

ERROR: for opensearch-node1 Cannot create container for service opensearch-node1: Conflict. The container name “/opensearch-node1” is already in use by container “1313a6afc8813a846c44150b26b3e9a4b3a44e976f4a3edb267fafbe8928813a”. You have to remove (or rename) that container to be able to reuse that name.

ERROR: for opensearch-node2 Cannot create container for service opensearch-node2: Conflict. The container name “/opensearch-node2” is already in use by container “b4390bc8b9ee21fa7c795a71ae32185dfae20a9cd2abe6474d7c4da626f8add9”. You have to remove (or rename) that container to be able to reuse that name.

ERROR: for opensearch-dashboards Cannot create container for service opensearch-dashboards: Conflict. The container name “/opensearch-dashboards” is already in use by container “44bc9c5de1a166ed58b4678f666114b6218bb9e1fb5b54c1225ef7eca0a0dd1f”. You have to remove (or rename) that container to be able to reuse that name.
ERROR: Encountered errors while bringing up the project.

Try name containers?
Example:
[root@node03-prod ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25a86aa15472 opensearchproject/opensearch-dashboards:1.3.3 node-node3-kibana
83133a96a045 opensearchproject/opensearch:1.3.3 node3-elastic

in docker-compose.yml - container_name:

services:
opensearch-node1:
image: opensearchproject/opensearch:1.3.3
container_name: node3-elastic

opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:1.3.3
container_name: node3-kibana

This generally means its trying to create a container with a name that’s already being used. You may want to go through your running containers to see what their names are.

If you decide you want to delete them, you can always use docker container rm <container_id> (After stopping them of course.)

Nate