I followed the instructions for installing & running docker on Ubuntu 20.04 (I’m using VirtualBox with Windows 10 host) at How to Install Docker and Run Docker Containers in Ubuntu - all went well.
At quickchart/Dockerfile at master · typpo/quickchart · GitHub it says
EXPOSE 3400 but still I gave -p 3400:3400
sudo docker run ianw/quickchart -p 3400:3400 which runs properly - no errors
But localhost:3400 doesn’t connect.
Any idea why ? Is it because all my docker commands are using sudo ?
PS : I know the docker is running successfully because when I do
sudo docker exec -it 6108092937ef wget http://localhost:3400 it says saving to ‘index.html’ 100%|************