March 2019
Intermediate to advanced
412 pages
9h 49m
English
With the image created, we can now run the service. We can launch the container manually with docker or write a playbook for it to launch with Ansible. Both of these approaches are entirely feasible, but require more effort than necessary, as we've already defined how this container should be launched in our container.yml file. We can utilize this configuration and simply use the run sub-command of ansible-container:

There are a few optional arguments for the run sub-command. You can pick a specific service to start, attach volumes, define variables, toggle production configuration, and so on. The argument that ...
Read now
Unlock full access