Create a new user, or add current user to the Docker group. You might need to reload your shell or even restart the host in order to make the changes take effect.
Start the containers (COMPOSE_UP_OPTS=-d to detach). If you encounter error "Unknown shorthand flag: 'f' in -f" please see below troubleshooting tips.
Clean and build the UI. This may freeze the host for a few minutes depending on your hardware. If you have 4GB RAM or below OOM Killer will surely kill your process.
Wait a few minutes and you should be able to reach the AWX web UI on https://localhost:8043/#/home.
Lastly create a new superuser, or use the default admin account, to login to the application.
Troubleshooting:
1. Unknown shorthand flag: 'f' in -f
If you get the error unknown shorthand flag: 'f' in -f it's probably because you've only installed docker-compose (version 1) and not docker-compose-plugin (version 2). Verify this by running docker compose version and docker-compose version.
According to Kali Documentation, to install docker-compose-plugin we need to update sources.list, import gpg key and run apt update.
2. Connection refused to web interface
'Connection refused' from host machine to the AWX web interface, even though all containers are up and running, and being able to reach the web interface from the container itself. Restarting the containers did not solve the issue, however doing a full reboot of the host system and then start the containers solved the issue for me.
utv-kali :: ~/awx ‹24.3.1*› » docker compose version
docker: 'compose' is not a docker command.
utv-kali :: ~/awx ‹24.3.1*› » docker-compose version
docker-compose version 1.29.2, build unknown