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.
utv-kali :: ~/awx ‹24.3.1*› » make docker-compose-build
utv-kali :: ~/awx ‹24.3.1*› » docker images 1 ↵
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/ansible/awx_devel HEAD a70774a6fa8d About a minute ago 1.95GB
utv-kali :: ~/awx ‹24.3.1*› » make docker-compose COMPOSE_UP_OPTS=-d
utv-kali :: ~/awx » docker container ls
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.
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.
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
'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.