Tutorial_DockerPythonPostgres Here is available the code of the Medium tutorial here: link Create db table Commands to create the db table: docker ps Used to identify the CONTAINER ID of postgres docker exec -it <CONTAINER_ID> bash psql postgres://username:secret@localhost:5432/database