Update README.md

Fixed error: docker: 'compose' is not a docker command.
This commit is contained in:
Iván Araolaza 2024-01-10 19:33:46 -03:00 committed by GitHub
parent f1ca9ab7eb
commit d5c93bce7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,8 @@ services:
ports:
- 8000:8080
EOF
docker compose pull
docker compose up
docker-compose pull #If using docker desktop, the commands are docker compose pull and docker compose up
docker-compose up
```
The whole application will be available after a few minutes.
@ -51,7 +51,7 @@ You should see the NetBox homepage.
To create the first admin user run this command:
```bash
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
docker-compose exec netbox /opt/netbox/netbox/manage.py createsuperuser # (Docker Desktop) docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
```
If you need to restart Netbox from an empty database often, you can also set the `SUPERUSER_*` variables in your `docker-compose.override.yml` as shown in the example.