Por que é fácil alternar docker
de inactive
para active
na AWS:
ubuntu@ip-172-31-14-19:~$
ubuntu@ip-172-31-14-19:~$ sudo snap services
Snap Service Startup Current
docker dockerd enabled active
ubuntu@ip-172-31-14-19:~$
ubuntu@ip-172-31-14-19:~$ sudo snap stop docker
Stopped.
ubuntu@ip-172-31-14-19:~$
ubuntu@ip-172-31-14-19:~$ sudo snap services
Snap Service Startup Current
docker dockerd enabled inactive
ubuntu@ip-172-31-14-19:~$
ubuntu@ip-172-31-14-19:~$ sudo snap start docker
Started.
ubuntu@ip-172-31-14-19:~$
ubuntu@ip-172-31-14-19:~$ sudo snap services
Snap Service Startup Current
docker dockerd enabled active
ubuntu@ip-172-31-14-19:~$
mas no meu sistema em casa ainda aparece como inactive
apesar de usar sudo
?
thufir@dur:~$
thufir@dur:~$ sudo snap services
Snap Service Startup Current
docker dockerd enabled inactive
thufir@dur:~$
thufir@dur:~$ sudo snap stop docker
Stopped.
thufir@dur:~$
thufir@dur:~$ sudo snap start docker
Started.
thufir@dur:~$
thufir@dur:~$ sudo snap services
Snap Service Startup Current
docker dockerd enabled inactive
thufir@dur:~$
Como eu ligo o interruptor em docker
para active
?
Não há log que eu vejo:
thufir@dur:~$
thufir@dur:~$ sudo /snap/bin/snappy-debug.security scanlog hello-world-service
sudo: /snap/bin/snappy-debug.security: command not found
thufir@dur:~$