A simple docker container includes ansible and pyvmomi.
This can be useful for administrating VMware platform by ansible.
- Docker Desktop
- working directories below are included in docker-compose.yml. Please modify if needed(or create symbolic link :)
- ~/code
- ~/.ssh
- to build container and execute bash in the container
docker compose up -d --build
docker exec -it py-ansible bash
- to stop & delete container
docker stop py-ansible
docker rm py-ansible
OR
docker compose down
.
├── Dockerfile
├── READMD.md
└── docker-compose.yml