I tested out docker today.

First of all, by default docker must run as root, or at least with the sudo command. The following is the method to allow you to run docker as the normal user.

sudo usermod -aG docker $USER

then, as the assigned user run

sg docker -c "bash"

Try this:

$ do...