Skip to content

Commit 441e43d

Browse files
committed
[gcc] Add post-install steps to docker install instructions.
1 parent e496f11 commit 441e43d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/envs/gcc.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ On Linux, install Docker using:
4242
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
4343
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
4444
sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io
45+
sudo usermod -aG docker $USER
46+
su - $USER
4547
4648
See the `official documentation <https://docs.docker.com/engine/install>`_ for
47-
alternative installation options.
49+
more details and alternative installation options.
4850

4951
On both Linux and macOS, use the following command to check if Docker is
5052
working:

0 commit comments

Comments
 (0)