I have created a container using chef recipe to pull an image for python in ubuntu 16.04. After creating the container it exits automatically, even if I use docker start containerid it stops instantly.
docker_service 'default' do action [:create, :start] end docker_image 'python' do tag 'latest' action :pull end docker_container 'testpy' do repo 'python' tag 'latest' action :run end
Here is my container,
After running start command, it has started but not getting listed after executing docker ps command.