Skip to main content

ManageIQ Installation in Docker

Docker image for ManageIQ is available. It can be run in a Docker container. There are also other options like Public cloud or Vagrant to get started with ManageIQ. It can run everywhere Docker is available.

First thing, you have to install Docker on your system. Follow instructions in Docker docs to install Docker.

Start Docker service using

sudo service docker start

or do

systemctl start docker

Step 1: Pull Docker image of ManageIQ

sudo docker pull manageiq/manageiq

or

sudo docker pull manageiq/manageiq:gaprindashvili-4

It will download the ManageIQ image from the Docker registry. To see image list, run this

sudo docker images ls

Stpe 2: Run Docker container

sudo docker run --privileged -d -p 8443:443 manageiq/manageiq

or

sudo docker run --privileged -d -p 8443:443 manageiq/manageiq:gaprindashvili-4

It will run the container in detached mode. -p 8443:443 will forward your base machine’s 8443 port requests to docker container’s 443 port. To see a list of running containers, execute

sudo docker ps

Now ManageIQ container is up and running at IP address https://127.0.0.1:8443

It has a username as admin and the password is smartvm. Get the login and explore the world of ManageIQ.

Step 3: To commit the changes Commit the container

It can be useful to commit a container’s file changes or settings into a new image. This allows you to debug a container by running an interactive shell or to export a working dataset to another server.

docker commit "container_id" manageiq

this saves all changes and data, next time run the manageiq container.

Reference: http://manageiq.org/docs/get-started/docker