Docker Commands

To get the ip address of the container docker inspect -f “{{ .NetworkSettings.Networks.nat.IPAddress }}”¬†[Container Name] To build application for docker file within the code path docker build -t [Application image name] . Run an image into container by assigning port and container name docker run -d -p 80:80 –name¬†[container name] [image name] To stop running … More Docker Commands