Почему на AWS легко переключить docker
с inactive
на active
:
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:~$
, но в моей домашней системе он по-прежнему отображается как inactive
, несмотря на , используя 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:~$
Как включить переключатель docker
в active
?
Нет журнала , который я вижу:
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:~$