Answer the question
In order to leave comments, you need to log in
Docker-compose why doesn't container start from docker-compose.yml?
Hello!
I started using docker, built a base image with centos, I try to describe docker-compose.yml, but after execution, the docker-compose up
Container is created and goes offline.
When you try to restart, nothing happens. Attach also fails.
If I do: docker run -it test_image
everything starts without problems.
Tell me what could be the problem?
This is what yml looks like.
version: '3.3'
my-test:
image: test_image
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question