Utility container to control MAD/Ansible deploys. To be (improperly) used as lightweight VM.
253
Dockerfile linksThe container Linux user (mad) is created by default with UID=1000 and GID=1000, these values must be the same as the host user that you use. If they aren't you should build the image from the Dockerfile.
Adapt the command below with these parameters:
/home/host_user/.ssh with the path for host .ssh folder/home/host_user/ansible with the path of your choice of a work directory on host for git repositories/home/host_user/.ssh/known_hosts with the path for host known_hosts fileName Surname with yours[email protected] with yours$ docker run --name mad-control -v /home/host_user/.ssh:/home/mad/.ssh:z,ro -v /home/host_user/ansible:/home/mad/ansible:z -v /home/host_user/.ssh/known_hosts:/home/mad/.ssh/known_hosts:z -e git_user_fullname="Name Surname" -e git_user_email="[email protected]" -u mad -it filipporossi/mad-control
You could create an alias in your environment to quickly start and attach to the container after it was created with the first run:
alias madcontrol='sudo docker start mad-control; sudo docker attach mad-control'
Content type
Image
Digest
Size
122.8 MB
Last updated
over 8 years ago
docker pull filipporossi/mad-control