Can't start Docker container from image after commit

I am using the Docker image from github to have Ubuntu with xrdp, but when I make some changes (like creating a new folder), exit the container, commit the changes and create a new image, I cannot start the container from that new image. I get a message like this:

 * 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 a docker container with:

docker run b3bdcd8a8a9d -p 3391:3389 2f60daa82fce

      

then connect to RDP, make some changes, disconnect, stop container and commit changes with

docker commit 7d372287aa09 test

      

I am using Ubuntu 14.04.2.

What could be the reason for this behavior?

+3


source to share





All Articles