Docker Community Forums

Share and learn in the Docker community.

New image from docker commit doesn't start


(Vijaygopal) #1

I downloaded a base image and made some changes(such as installed few software and set environment path) and performed a docker commit. Post commit I whenever I try to start the container I run into the following issue.

ERROR: for peer0.org1.example.com Cannot create container for service peer0.org1.example.com: cannot mount volume over existing file, file exists /var/lib/docker/aufs/mnt/dd9dde335d880dcd041b28d030eff1e0a05428a474fca7802588ba23595ac80a/opt/gopath/src/github.com/hyperledger/fabric/peer/channel.tx

Images created post commit .
REPOSITORY | TAG | IMAGE ID | CREATED | SIZE
hyperledger/fabric-peer | x86_64-1.0.0-alpha | f98b3c2febeb | 46 hours ago | 711MB
ubuntu | 16.04 | a13345f4552c | 47 hours ago | 950MB
ubuntu | | f7b3f317ec73 | 2 weeks ago | 117MB
hyperledger/fabric-orderer | x86_64-1.0.0-alpha | 5685fd77ab7c | 7 weeks ago | 182MB
hyperledger/fabric-peer | | 784c5d41ac1d | 7 weeks ago | 184MB

Please let me know what needs to be done here.


(Playaj20008) #2

Did you ever resolve this? Having same issue.