Use Ansible and Packer to create a Docker image
To create a Docker image, you usually use Docker CLI with the docker build
command. One of the advantages is that this command creates one layer per line of the Dockerfile.
However, when you create several Docker images with common code, it may be…