Can't run Docker container from image after commit

Viewed 868

I use Docker image from github to have a Ubuntu with xrdp, but when I make some changes (for example create new folder), exit the container, commit changes and create new image, I can't start container from this new image. I'm getting this kind of message:

 * Starting enhanced syslogd rsyslogd
   ...done.
 * Removing stale PID file /var/run/dbus/pid.
 * Starting system message bus dbus

 Failed to start message bus: Failed to bind socket "/var/run/dbus/system_bus_socket": Address already in use

I start docker container with:

docker run b3bdcd8a8a9d -p 3391:3389 2f60daa82fce

then connect with RDP, make some changes, disconect, stopping container and commiting changes with

docker commit 7d372287aa09 test

I use Ubuntu 14.04.2.

What could be the cause of such behavior?

0 Answers
Related