Create Image from docker file You need to add a dot, which means to use the Dockerfile in the local directory. docker build -t mytag . Docker Up Docker-compose up To Run Angular Docker Ps Docker exec -it b1 bash ng serve --env=local --host=0.0.0.0 --pool=10000 --hmr npm run watch-poll How to fix docker: Got permission denied while trying to connect to the Docker daemon socket just open terminal and type this command sudo chmod 666 /var/run/docker.sock