
Want to install Nautobot quickly on your Mac? This comprehensive tutorial will walk you through deploying Nautobot using Docker, the fastest and most reliable method for getting your network automation platform up and running.
Similar to NetBox, Nautobot is an extensible Network Source of Truth and Network Automation Platform that serves as the foundation for modern network automation architectures. Installing Nautobot via Docker provides a production-ready environment with minimal setup complexity.
Before you install Nautobot, ensure you have:
Verify Docker installation by running:
docker run hello-worldStart the Nautobot installation process by cloning the official Docker Compose repository:
git clone https://github.com/nautobot/nautobot-docker-compose.git
cd nautobot-docker-composeTo properly install Nautobot, you need to set up two essential configuration files:
# Create local environment configuration
cp environments/local.example.env environments/local.env
# Create credentials configuration
cp environments/creds.example.env environments/creds.envEdit the environments/creds.env file to enable automatic superuser creation during the Nautobot installation:
nano environments/creds.envChange the following line:
NAUTOBOT_CREATE_SUPERUSER=trueThe default superuser credentials will be:
adminadmin@example.comadminIf you have Poetry installed, use the invoke command to install Nautobot:
poetry install
poetry run invoke startAlternatively, install Nautobot directly with Docker Compose:
docker-compose up -dCheck that all containers are running properly:
➜ nautobot-docker-compose git:(main) docker ps | grep nau
a46ad5287851 yourrepo/nautobot-docker-compose:local "sh -c 'nautobot-ser…" About an hour ago Up About an hour (healthy) 8080/tcp, 8443/tcp nautobot_docker_compose-celery_worker-1
06e6638f7b89 yourrepo/nautobot-docker-compose:local "sh -c 'nautobot-ser…" About an hour ago Up About an hour 8080/tcp, 8443/tcp nautobot_docker_compose-celery_beat-1
53f9a38211fe yourrepo/nautobot-docker-compose:local "/docker-entrypoint.…" About an hour ago Up About an hour (healthy) 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp nautobot_docker_compose-nautobot-1
44cac78fab26 redis:6-alpine "docker-entrypoint.s…" About an hour ago Up About an hour 6379/tcp nautobot_docker_compose-redis-1
c8b042983d1f postgres:13-alpine "docker-entrypoint.s…" About an hour ago Up About an hour (healthy) 5432/tcp nautobot_docker_compose-db-1You should see containers for Nautobot, PostgreSQL, Redis, and Celery workers.
Once the installation completes, access Nautobot by navigating to:
http://localhost:8080Log in using the superuser credentials configured in Step 3.
If you encounter ARM64 compatibility issues during installation, the Docker Compose method is recommended over single container deployments.
If you forgot to enable superuser creation, create one manually:
docker exec -it nautobot_docker_compose-nautobot-1 nautobot-server createsuperuserMonitor the Nautobot installation progress with:
docker-compose logs nautobotWith Nautobot successfully installed, you can:
Installing Nautobot via Docker provides several advantages:
This Docker-based installation method ensures you have a robust Nautobot deployment ready for both development and production use cases.
Your Nautobot installation is now complete and ready to serve as your network source of truth platform.
