Skip to main content

Install Infrahub Community

Infrahub Community is deployed as a container-based architecture and can be installed using several methods.

Using curl and Docker Compose​

To quickly spin up the latest Infrahub locally, retrieve the Docker Compose file from infrahub.opsmill.io.

You can also specify a specific version or the develop branch in the URL:

Prerequisites​

Start an Infrahub environment​

curl https://infrahub.opsmill.io > docker-compose.yml
docker compose -p infrahub up -d

After running the command, you should see Docker downloading the necessary images and starting the containers.

success

Verify that Infrahub is running by accessing the web interface or checking container status:

docker ps | grep infrahub

Stop and remove an Infrahub environment​

curl https://infrahub.opsmill.io > docker-compose.yml
docker compose -p infrahub down -v