docker run -d --name listmonk -p 9000:9000 -e LISTMONK_db__host=localhost -e LISTMONK_db__user=listmonk -e LISTMONK_db__password=listmonk -e LISTMONK_db__database=listmonk -v listmonk_uploads:/listmonk/uploads listmonk/listmonk:latest

Category: Listmonk & Newsletters

docker run -d --name listmonk -p 9000:9000 -e LISTMONK_db__host=localhost -e LISTMONK_db__user=listmonk -e LISTMONK_db__password=listmonk -e LISTMONK_db__database=listmonk -v listmonk_uploads:/listmonk/uploads listmonk/listmonk:latest

Run the listmonk container on port 9000

Starts the listmonk/listmonk:latest image detached with the admin UI exposed on port 9000. The LISTMONK_db__* variables point at an existing Postgres, and the named volume keeps uploaded media across container replacements. A bare container cannot reach a database on the host's localhost unless run with --network host; the official compose stack wires app and database together instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.