P
P
Polina Titova2022-03-04 16:58:37
Docker
Polina Titova, 2022-03-04 16:58:37

How to create an OCI runtime (docker-compose up)?

I'm using Ubuntu 21.10, Docker 19.03.13. After running the dependencies in docker, an error was thrown:

$ docker-compose up
Starting ma-redis ... 
Starting ma-mongo      ... error
Starting ma-clickhouse ... 

ERROR: for ma-mongo  Cannot start service mongo: OCI runtime create failed: container with id exists: 632138a240941a6d4c956aa4eeeab91d7aaaac32c96611aStarting ma-clickhouse ... error
Starting ma-redis      ... error
ERROR: for ma-clickhouse  Cannot start service clickhouse: OCI runtime create failed: container with id exists: dbc41154dcee6b17a4213f4b8bf5a02a94c75f937ea74107ba12a137d5a7e8e4: unknown

ERROR: for ma-redis  Cannot start service redis: OCI runtime create failed: container with id exists: ca0eadf89fe90c516364770cac4102aa5bc34560b57bb45027094adbde0fe34a: unknown

ERROR: for mongo  Cannot start service mongo: OCI runtime create failed: container with id exists: 632138a240941a6d4c956aa4eeeab91d7aaaac32c96611a22e60447f40dba324: unknown

ERROR: for clickhouse  Cannot start service clickhouse: OCI runtime create failed: container with id exists: dbc41154dcee6b17a4213f4b8bf5a02a94c75f937ea74107ba12a137d5a7e8e4: unknown

ERROR: for redis  Cannot start service redis: OCI runtime create failed: container with id exists: ca0eadf89fe90c516364770cac4102aa5bc34560b57bb45027094adbde0fe34a: unknown
ERROR: Encountered errors while bringing up the project.

How to start services and create an OCI runtime?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-03-04
@karabanov

Translate from English message. It becomes clear what is going on.
To solve the problem do:
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker-compose up -d

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question