I tried building docker container image 2 times by giving 2 differennt tags as shown below
docker container build -t spc:290120
docker container build -t spc:1.290120
when i am trying to create/run the container on 8081:8080 port it is showing the following error.
docker container run -d -p 8081:8080 spc:290120
docker: Error response from daemon: driver failed programming external connectivity on
endpoint mystifying_ritchie (b1720739a307beff63822e7352e0f1def36f4fa38a521162c81df9549a0348d9):
Bind for 0.0.0.0:8081 failed: port is already allocated.
I tried building docker container image 2 times by giving 2 differennt tags as shown below
docker container build -t spc:290120
docker container build -t spc:1.290120
when i am trying to create/run the container on 8081:8080 port it is showing the following error.
docker container run -d -p 8081:8080 spc:290120
docker: Error response from daemon: driver failed programming external connectivity on
endpoint mystifying_ritchie (b1720739a307beff63822e7352e0f1def36f4fa38a521162c81df9549a0348d9):
Bind for 0.0.0.0:8081 failed: port is already allocated.