-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
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
docker_service causes failure with user option docker-compose.yml #25943
Comments
As an additional way of doing things, I used the USER instruction in my Dockerfile (which is probably the better way anyway). |
Please note that the !component =lib/ansible/modules/cloud/docker/docker_compose.py Also, please note that currently, nobody is actively maintaining the Ansible |
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
For further information, please see: |
ISSUE TYPE
COMPONENT NAME
docker_service
ANSIBLE VERSION
CONFIGURATION
No specific config
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
I will upload the full set of playbooks, Dockerfiles, and docker-compose.yml files which are in this hierarchy
Level 1 - Host level
Level 2 - Service level (for each service)
Sorry, my project is bitbucket not github, so I can't share gists. I will have to rename and upload files.
orson-host.yml.txt
docker-compose.yml.txt
Dockerfile.mongo.txt
Dockerfile.tomee.txt
playbook.yml.tomee.txt
playbook.yml.mongo.txt
EXPECTED RESULTS
Both containers run with primary process running as orson user instead of root.
ACTUAL RESULTS
Client side ansible script results
Host side docker results if docker_service is used (Exited 100 on mongo just means unhandled exception)
If
command: docker-compose up -d
is usedThe text was updated successfully, but these errors were encountered: