Docker: Can't use Docker new image file after commiting running container -


so created , run smoothly 1 docker images lamp , wp installed dockerfile using port 1250. image called wordpress.

for instance, when access address 52.192.1.x:1250, install wordpress page appeared.

then, tried test little bit. login bash environment command.

docker run -it wordpress /bin/bash 

and created 1 folder called testing.

i open 1 more windows @ same time , login , commit running container command.

docker commit id-of-running-container wordpress3. 

and when running new images wordpress3 on port, let's 52.192.1.x:1251, nothing appeared except error "can't connect"

can guys tell me reason why?


Comments