You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.
Are there any documentation reference for the tokens that can be used in the container reference? I'm not sure how to convert my Dockerfile into a container.yml. The current reference documentation just documents that commands. Using the example as my go-to reference for now.
The text was updated successfully, but these errors were encountered:
you do not directly convert your Dockerfile to container.yml.
The way doing this would be docker build to create an Container Image from the Dockerfile and refer to that "Container Image" in the container.yml which is almost equal to the docker-compose.yml format. Then you would run ansible-container to provision a (new) container with this image as a base plus your main.yml playbook applied.
I was actually finally able to convert my Dockerfile to container.yml and main.yml. I had to move functionality that I specified in the Dockerfile to container.yml, and specific package install and other configurations moved to main.yml.
I had some initial confusion as the docs are sparse, ran into bugs (expected, but caused the most problems). As a newbie with basic Ansible, Docker Engine, and Docker-Compose knowledge, it was rough to get started. I cannot imagine someone missing such pre-reqs.
I was thinking it would be nice to have mini-tutorials like Docker-Compose has with Django, Flask, Rails, WordPress, which would help getting off the ground.
As for the reference, I was wondering what has been tested to work and not work in different combinations. Perhaps a test scripts? Also, there's key/value pairs outside of compose added to container.yml
The docs do definitely need continual upkeep and love, and the ansible-container-examples repo needs some additional case studies. Contributions welcome until House or I can get to penning some on our own.
Are there any documentation reference for the tokens that can be used in the container reference? I'm not sure how to convert my
Dockerfile
into acontainer.yml
. The current reference documentation just documents that commands. Using the example as my go-to reference for now.The text was updated successfully, but these errors were encountered: