amnezia-client icon indicating copy to clipboard operation
amnezia-client copied to clipboard

"Docker failed" while installing on Ubuntu 18.04.6

Open peresmeshnikov opened this issue 2 years ago • 3 comments

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?

peresmeshnikov avatar Apr 16 '22 16:04 peresmeshnikov

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

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

peresmeshnikov avatar Apr 16 '22 16:04 peresmeshnikov

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

pokamest avatar Jun 02 '22 20:06 pokamest

Screen Shot 2022-08-04 at 1 04 01 PM Macbook OS Monterey 2022. This error shows up. Please help... I have docker installed a long time ago. I have also updated my docker version and still the same error.

motikolorado avatar Aug 04 '22 18:08 motikolorado

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

Nethius avatar Dec 31 '22 08:12 Nethius

@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

Nethius avatar Jan 02 '23 09:01 Nethius

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?

john4669 avatar Apr 07 '23 14:04 john4669

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?

pokamest avatar Apr 07 '23 16:04 pokamest

Issue was closed due to lack of response

pokamest avatar Sep 15 '23 00:09 pokamest