File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -694,15 +694,22 @@ Ve a la [documentación de instalación de Docker](https://docs.docker.com/engin
694694
695695Luego sigue las instrucciones del tutorial para instalar Docker ** usando el repositorio** . Hay 2 pasos:
696696
697- - SET UP THE REPOSITORY. Esto significa configurar el repositorio
698- - INSTALL DOCKER ENGINE. Esto significa instalar el motor de Docker
697+ 1 . Set up Docker's apt repository. > Esto significa configurar el repositorio
698+ 2 . Install the Docker packages. > Esto significa instalar el motor de Docker
699699
700- Cuando termines, podrás ejecutar lo siguiente:
700+ Ahora, asegurémonos de que podemos ejecutar ` docker ` sin ` sudo ` .
701+
702+ Ejecute los siguientes comandos uno por uno:
701703
702704``` bash
703- sudo service docker start
705+ sudo groupadd docker
706+ sudo usermod -aG docker $USER
707+ newgrp docker
708+ sudo rm -rf ~ /.docker/
704709```
705710
711+ Cuando termines, podrás ejecutar lo siguiente:
712+
706713``` bash
707714sudo docker run hello-world
708715```
@@ -711,10 +718,6 @@ Debería aparecer el siguiente mensaje:
711718
712719![ ] ( images/docker_hello.png )
713720
714- ``` bash
715- sudo service docker stop
716- ```
717-
718721
719722## Kitt
720723
Original file line number Diff line number Diff line change @@ -736,15 +736,22 @@ Go to [Docker install documentation](https://docs.docker.com/engine/install/ubun
736736
737737Then follow the tutorial instructions to install Docker ** using the repository** . There are 2 steps:
738738
739- - SET UP THE REPOSITORY
740- - INSTALL DOCKER ENGINE
739+ 1 . Set up Docker's apt repository.
740+ 2 . Install the Docker packages.
741741
742- Once done, you should be able to run:
742+ Now, let's make sure we can run ` docker ` without ` sudo ` .
743+
744+ Run the following commands one by one:
743745
744746``` bash
745- sudo service docker start
747+ sudo groupadd docker
748+ sudo usermod -aG docker $USER
749+ newgrp docker
750+ sudo rm -rf ~ /.docker/
746751```
747752
753+ When finished, run the following command:
754+
748755``` bash
749756sudo docker run hello-world
750757```
@@ -753,10 +760,6 @@ The following message should print:
753760
754761![ ] ( images/docker_hello.png )
755762
756- ``` bash
757- sudo service docker stop
758- ```
759-
760763
761764## Kitt
762765
Original file line number Diff line number Diff line change @@ -820,15 +820,22 @@ Ve a la [documentación de instalación de Docker](https://docs.docker.com/engin
820820
821821Luego sigue las instrucciones del tutorial para instalar Docker ** usando el repositorio** . Hay 2 pasos:
822822
823- - SET UP THE REPOSITORY. Esto significa configurar el repositorio
824- - INSTALL DOCKER ENGINE. Esto significa instalar el motor de Docker
823+ 1 . Set up Docker's apt repository. > Esto significa configurar el repositorio
824+ 2 . Install the Docker packages. > Esto significa instalar el motor de Docker
825825
826- Cuando termines, podrás ejecutar lo siguiente:
826+ Ahora, asegurémonos de que podemos ejecutar ` docker ` sin ` sudo ` .
827+
828+ Ejecute los siguientes comandos uno por uno:
827829
828830``` bash
829- sudo service docker start
831+ sudo groupadd docker
832+ sudo usermod -aG docker $USER
833+ newgrp docker
834+ sudo rm -rf ~ /.docker/
830835```
831836
837+ Cuando termines, podrás ejecutar lo siguiente:
838+
832839``` bash
833840sudo docker run hello-world
834841```
@@ -837,10 +844,6 @@ Debería aparecer el siguiente mensaje:
837844
838845![ ] ( images/docker_hello.png )
839846
840- ``` bash
841- sudo service docker stop
842- ```
843-
844847
845848## Kitt
846849
Original file line number Diff line number Diff line change @@ -1116,15 +1116,22 @@ Go to [Docker install documentation](https://docs.docker.com/engine/install/ubun
11161116
11171117Then follow the tutorial instructions to install Docker ** using the repository** . There are 2 steps:
11181118
1119- - SET UP THE REPOSITORY
1120- - INSTALL DOCKER ENGINE
1119+ 1 . Set up Docker's apt repository.
1120+ 2 . Install the Docker packages.
11211121
1122- Once done, you should be able to run:
1122+ Now, let's make sure we can run ` docker ` without ` sudo ` .
1123+
1124+ Run the following commands one by one:
11231125
11241126``` bash
1125- sudo service docker start
1127+ sudo groupadd docker
1128+ sudo usermod -aG docker $USER
1129+ newgrp docker
1130+ sudo rm -rf ~ /.docker/
11261131```
11271132
1133+ When finished, run the following command:
1134+
11281135``` bash
11291136sudo docker run hello-world
11301137```
@@ -1133,10 +1140,6 @@ The following message should print:
11331140
11341141![ ] ( images/docker_hello.png )
11351142
1136- ``` bash
1137- sudo service docker stop
1138- ```
1139-
11401143
11411144## Kitt
11421145
Original file line number Diff line number Diff line change @@ -1348,6 +1348,35 @@ Debería aparecer el siguiente mensaje:
13481348
13491349![ ] ( images/docker_hello.png )
13501350
1351+ <details >
1352+ <summary markdown =' span ' >Permission denied? (WSL / Ubuntu)</summary >
1353+
1354+ Ejecute los siguientes comandos uno por uno:
1355+
1356+ ``` bash
1357+ sudo groupadd docker
1358+ sudo usermod -aG docker $USER
1359+ newgrp docker
1360+ ```
1361+
1362+ Intente ` docker info ` nuevamente.
1363+
1364+ ¿Ve este error?
1365+
1366+ ```
1367+ WARNING: Error loading config file: /home/user/.docker/config.json - stat /home/user/.docker/config.json: permission denied`?
1368+ ```
1369+
1370+ Ejecute el siguiente comando:
1371+
1372+ ``` bash
1373+ sudo rm -rf ~ /.docker/
1374+ ```
1375+
1376+ Intente ` docker info ` nuevamente.
1377+
1378+ </details >
1379+
13511380
13521381## Kitt
13531382
Original file line number Diff line number Diff line change @@ -1409,6 +1409,34 @@ The following message should print:
14091409
14101410![ ] ( images/docker_hello.png )
14111411
1412+ <details >
1413+ <summary markdown =' span ' >Permission denied?</summary >
1414+
1415+ Run the following commands one by one:
1416+
1417+ ``` bash
1418+ sudo groupadd docker
1419+ sudo usermod -aG docker $USER
1420+ newgrp docker
1421+ ```
1422+
1423+ Try ` docker run hello-world ` again.
1424+
1425+ Seeing this error?
1426+ ```
1427+ WARNING: Error loading config file: /home/user/.docker/config.json - stat /home/user/.docker/config.json: permission denied`?
1428+ ```
1429+
1430+ Run the following command:
1431+
1432+ ``` bash
1433+ sudo rm -rf ~ /.docker/
1434+ ```
1435+
1436+ Try ` docker run hello-world ` again.
1437+
1438+ </details >
1439+
14121440
14131441## Kitt
14141442
Original file line number Diff line number Diff line change @@ -10,23 +10,26 @@ Ve a la [documentación de instalación de Docker](https://docs.docker.com/engin
1010
1111Luego sigue las instrucciones del tutorial para instalar Docker ** usando el repositorio** . Hay 2 pasos:
1212
13- - SET UP THE REPOSITORY. Esto significa configurar el repositorio
14- - INSTALL DOCKER ENGINE. Esto significa instalar el motor de Docker
13+ 1 . Set up Docker's apt repository. > Esto significa configurar el repositorio
14+ 2 . Install the Docker packages. > Esto significa instalar el motor de Docker
1515
16- Cuando termines, podrás ejecutar lo siguiente:
16+ Ahora, asegurémonos de que podemos ejecutar ` docker ` sin ` sudo ` .
17+
18+ Ejecute los siguientes comandos uno por uno:
1719
1820``` bash
19- sudo service docker start
21+ sudo groupadd docker
22+ sudo usermod -aG docker $USER
23+ newgrp docker
24+ sudo rm -rf ~ /.docker/
2025```
2126
27+ Cuando termines, podrás ejecutar lo siguiente:
28+
2229``` bash
2330sudo docker run hello-world
2431```
2532
2633Debería aparecer el siguiente mensaje:
2734
2835![ ] ( images/docker_hello.png )
29-
30- ``` bash
31- sudo service docker stop
32- ```
Original file line number Diff line number Diff line change @@ -21,3 +21,32 @@ docker run hello-world
2121Debería aparecer el siguiente mensaje:
2222
2323![ ] ( images/docker_hello.png )
24+
25+ <details >
26+ <summary markdown =' span ' >Permission denied? (WSL / Ubuntu)</summary >
27+
28+ Ejecute los siguientes comandos uno por uno:
29+
30+ ``` bash
31+ sudo groupadd docker
32+ sudo usermod -aG docker $USER
33+ newgrp docker
34+ ```
35+
36+ Intente ` docker info ` nuevamente.
37+
38+ ¿Ve este error?
39+
40+ ```
41+ WARNING: Error loading config file: /home/user/.docker/config.json - stat /home/user/.docker/config.json: permission denied`?
42+ ```
43+
44+ Ejecute el siguiente comando:
45+
46+ ``` bash
47+ sudo rm -rf ~ /.docker/
48+ ```
49+
50+ Intente ` docker info ` nuevamente.
51+
52+ </details >
Original file line number Diff line number Diff line change @@ -10,23 +10,26 @@ Go to [Docker install documentation](https://docs.docker.com/engine/install/ubun
1010
1111Then follow the tutorial instructions to install Docker ** using the repository** . There are 2 steps:
1212
13- - SET UP THE REPOSITORY
14- - INSTALL DOCKER ENGINE
13+ 1 . Set up Docker's apt repository.
14+ 2 . Install the Docker packages.
1515
16- Once done, you should be able to run:
16+ Now, let's make sure we can run ` docker ` without ` sudo ` .
17+
18+ Run the following commands one by one:
1719
1820``` bash
19- sudo service docker start
21+ sudo groupadd docker
22+ sudo usermod -aG docker $USER
23+ newgrp docker
24+ sudo rm -rf ~ /.docker/
2025```
2126
27+ When finished, run the following command:
28+
2229``` bash
2330sudo docker run hello-world
2431```
2532
2633The following message should print:
2734
2835![ ] ( images/docker_hello.png )
29-
30- ``` bash
31- sudo service docker stop
32- ```
Original file line number Diff line number Diff line change @@ -21,3 +21,31 @@ docker run hello-world
2121The following message should print:
2222
2323![ ] ( images/docker_hello.png )
24+
25+ <details >
26+ <summary markdown =' span ' >Permission denied?</summary >
27+
28+ Run the following commands one by one:
29+
30+ ``` bash
31+ sudo groupadd docker
32+ sudo usermod -aG docker $USER
33+ newgrp docker
34+ ```
35+
36+ Try ` docker run hello-world ` again.
37+
38+ Seeing this error?
39+ ```
40+ WARNING: Error loading config file: /home/user/.docker/config.json - stat /home/user/.docker/config.json: permission denied`?
41+ ```
42+
43+ Run the following command:
44+
45+ ``` bash
46+ sudo rm -rf ~ /.docker/
47+ ```
48+
49+ Try ` docker run hello-world ` again.
50+
51+ </details >
You can’t perform that action at this time.
0 commit comments