Skip to content

Commit

Permalink
Use newgrp for platforms lacking su
Browse files Browse the repository at this point in the history
  • Loading branch information
begriffs committed Mar 1, 2017
1 parent 0a08052 commit 4b2f329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation/single_machine_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Linux
.. code-block:: bash
curl -sSL https://get.docker.com/ | sudo bash
sudo usermod -aG docker $USER && exec su -l $USER
sudo usermod -aG docker $USER && newgrp docker
sudo systemctl start docker
sudo curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
Expand Down

0 comments on commit 4b2f329

Please sign in to comment.