Usage with Docker - HenryGP/om_ansible GitHub Wiki
Table of contents
Prerequisites
- Install Docker Compose
- (still untested!) If you are using a Mac M1 set the following environment variable in your
~/.profilefile and logout/login your user to apply the change:export DOCKER_DEFAULT_PLATFORM=linux/amd64 - Set "deprecatedCgroupv1": true in "~/Library/Group Containers/group.com.docker/settings.json". The change will applied when docker desktop image is restarted.
- IMPORTANT! Start the Docker UI and raise the memory limit to at least 8GB. This will avoid any issues with the Ops Manager server particularly.
-
Click on the Docker icon at the topbar and select
Preferences:
-
Select 'Advanced' and increase the memory limit to at least 8GB.

-
- Click on 'Apply and restart'
Usage with Docker
- Navigate to the directory used for om_ansible, in this case
~/om_ansible:cd ~/om_ansible - Choose the Ops Manager version to install, the Global Owner name and password and if you want to enable HTTPS:
vim vars/om-install-vars.yaml - Build the images for creating the infrastructure:
docker-compose build - Create the containers:
docker-compose up -d - Provision containers by executing general Ansible task:
docker-compose exec provisioner ansible-playbook /root/om_ansible.yaml - Check the container names by executing
docker ps - ssh into an specific container:
docker-compose exec <container_name> bash - Pause/resume environment:
docker-compose [pause|unpause] - Destroy the containers:
docker-compose down
Access to UIs
- Ops Manager UI: http://localhost:8080
- User: admin
- Password: Password1!
- S3 minio UI: http://localhost:9000
- Access key: minio
- Secret key: miniostorage