[GH-ISSUE #67] "Docker failed" while installing on Ubuntu 18.04.6 #31

Closed
opened 2026-10-13 20:11:16 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @publicprofileforme on GitHub (Apr 16, 2022).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/67

Tried to install VPN via "Setup Wizard" on local VM with Ubuntu 18.04.6 runned on HyperV and got this error
изображение
Same with Ubuntu 20.04
What I 'm doing wrong?

Originally created by @publicprofileforme on GitHub (Apr 16, 2022). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/67 Tried to install VPN via "Setup Wizard" on local VM with Ubuntu 18.04.6 runned on HyperV and got this error ![изображение](https://user-images.githubusercontent.com/64947180/163682635-6ecda3ca-861e-4bdd-aa6a-745706726ae1.png) Same with Ubuntu 20.04 What I 'm doing wrong?
Author
Owner

@publicprofileforme commented on GitHub (Apr 16, 2022):

Может дело в этом:
"Клиент подключается к вашему серверу по SSH, устанавливает Docker, если он ещё не установлен, и запускает серверные контейнеры Amnezia. Пока поддерживается только Ubuntu/Debian (нужен apt install docker-io)."

а должно же быть apt install docker.io
Если руками так поставить докер, то установка дальше продолжается успешно.
Если кто читает вообще issue здесь...

<!-- gh-comment-id:1100700904 --> @publicprofileforme commented on GitHub (Apr 16, 2022): Может дело в этом: "Клиент подключается к вашему серверу по SSH, устанавливает Docker, если он ещё не установлен, и запускает серверные контейнеры Amnezia. Пока поддерживается только Ubuntu/Debian (нужен apt install docker-io)." а должно же быть apt install docker.io Если руками так поставить докер, то установка дальше продолжается успешно. Если кто читает вообще issue здесь...
Author
Owner

@pokamest commented on GitHub (Jun 2, 2022):

Спасибо за репорт!
Планируем в скором времени взяться за issues, ориентировочно через пару недель

<!-- gh-comment-id:1145298924 --> @pokamest commented on GitHub (Jun 2, 2022): Спасибо за репорт! Планируем в скором времени взяться за issues, ориентировочно через пару недель
Author
Owner

@Nethius commented on GitHub (Dec 31, 2022):

Hi @peresmeshnikov @motikolorado It looks like you are connecting to the server with a user who is prompted for a password for sudo . For successful configuration, you need to connect as root or a user who does not have a password for sudo

<!-- gh-comment-id:1368184277 --> @Nethius commented on GitHub (Dec 31, 2022): Hi @peresmeshnikov @motikolorado It looks like you are connecting to the server with a user who is prompted for a password for sudo . For successful configuration, you need to connect as root or a user who does not have a password for sudo
Author
Owner

@Nethius commented on GitHub (Jan 2, 2023):

@Nethius please how do i connect as root on mac

https://superuser.com/questions/555810/how-do-i-ssh-login-into-my-mac-as-root maybe this will help

<!-- gh-comment-id:1368780623 --> @Nethius commented on GitHub (Jan 2, 2023): > @Nethius please how do i connect as root on mac https://superuser.com/questions/555810/how-do-i-ssh-login-into-my-mac-as-root maybe this will help
Author
Owner

@john4669 commented on GitHub (Apr 7, 2023):

I have an Ubuntu 20.04 server at home with a dedicated IP address. I set up a user with sudo privileges and get the same 'Docker Failed" error as the OP when trying to connect from an Android client. One comment says you need a root user who does not have a password. That opens up such a security problem for my server as to make this not worth it. Is there any alternative?

<!-- gh-comment-id:1500319668 --> @john4669 commented on GitHub (Apr 7, 2023): I have an Ubuntu 20.04 server at home with a dedicated IP address. I set up a user with sudo privileges and get the same 'Docker Failed" error as the OP when trying to connect from an Android client. One comment says you need a root user who does not have a password. That opens up such a security problem for my server as to make this not worth it. Is there any alternative?
Author
Owner

@pokamest commented on GitHub (Apr 7, 2023):

I have an Ubuntu 20.04 server at home with a dedicated IP address. I set up a user with sudo privileges and get the same 'Docker Failed" error as the OP when trying to connect from an Android client. One comment says you need a root user who does not have a password. That opens up such a security problem for my server as to make this not worth it. Is there any alternative?

No, you need to provide to Amnezia either root (with password or key), either other user (with password or key), which is not asking password for sudo.

About the error 'Docker Failed" - could you please share part of your log with this error?

<!-- gh-comment-id:1500443259 --> @pokamest commented on GitHub (Apr 7, 2023): > I have an Ubuntu 20.04 server at home with a dedicated IP address. I set up a user with sudo privileges and get the same 'Docker Failed" error as the OP when trying to connect from an Android client. One comment says you need a root user who does not have a password. That opens up such a security problem for my server as to make this not worth it. Is there any alternative? No, you need to provide to Amnezia either root (with password or key), either other user (with password or key), which is not asking password for sudo. About the error 'Docker Failed" - could you please share part of your log with this error?
Author
Owner

@pokamest commented on GitHub (Sep 15, 2023):

Issue was closed due to lack of response

<!-- gh-comment-id:1720318369 --> @pokamest commented on GitHub (Sep 15, 2023): Issue was closed due to lack of response
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#31
No description provided.