We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After any container is deployed with chef-docker cookbook using:
docker_container 'my_container' do container_name 'my_container' image 'my_image' tty true detach true action :run end
stopping it later manually (outside the cookbook) is impossible. I tried those commands:
docker stop my_container sv stop my_container
Actually the latter command should be used, to make it work the following script is needed: /etc/service/my_container/finish with contents:
#!/bin/bash docker stop my_container
I think a finish script should be generated each time a docker container is created.
The text was updated successfully, but these errors were encountered:
7de375e
Merge pull request #285 from xmik/master
8ab9473
fixes #284, runit finish script to stop a container
No branches or pull requests
After any container is deployed with chef-docker cookbook using:
stopping it later manually (outside the cookbook) is impossible. I tried those commands:
Actually the latter command should be used, to make it work the following script is needed: /etc/service/my_container/finish with contents:
I think a finish script should be generated each time a docker container is created.
The text was updated successfully, but these errors were encountered: