Publishing ports

Commands

docker container run --publish 8080:80 -d nginx:latest
docker container ls
docker container run --publish 127.0.0.1:80:80 -d nginx:latest
docker container run -it alpine:latest
ip addr

Introduction

Publishing multiple ports