docker-pivpn icon indicating copy to clipboard operation
docker-pivpn copied to clipboard

Docker image not found

Open cpoetter opened this issue 6 years ago • 4 comments

Hi,

thank you for this awesome docker container! I tried to run it on my Raspberry Pi 3 this morning and I saw the following error:

pi@raspberrypi:~ $ curl -L https://bit.ly/2CzLV3T -o setup.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    308      0 --:--:-- --:--:-- --:--:--   308
100  5982  100  5982    0     0   7250      0 --:--:-- --:--:-- --:--:--  7250
pi@raspberrypi:~ $ sudo bash setup.sh
Error response from daemon: manifest for innovativeinventor/docker-pivpn:armhf not found
Unable to find image 'innovativeinventor/docker-pivpn:armhf' locally
docker: Error response from daemon: manifest for innovativeinventor/docker-pivpn:armhf not found.
See 'docker run --help'.

Cloning into 'docker-pivpn'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 11 (delta 2), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
must specify at least one container source
setup.sh: line 201: warning: command substitution: ignored null byte in input
Error: No such container: bash
Error: No such container: bash
Error: No such container: dpkg
Error: No such container: bash
Restarting container . . .
"docker restart" requires at least 1 argument.
See 'docker restart --help'.

Usage:  docker restart [OPTIONS] CONTAINER [CONTAINER...] [flags]

Restart one or more containers
Error: No such container: 
Your port is
Error: No such container: sed
Generating configs . . . Please answer the prompts
Error: No such container: pivpn
must specify at least one container source
Done! To execute commands, type docker exec -it  /bin/bash
All currently generated configs are in the ovpns directory
To generate more configs, just type docker exec -it  pivpn -a
Your openvpn port should be , open it up if you are using a firewall

Am I doing something wrong?

Thank you very much for your help. Chris

cpoetter avatar May 18 '18 07:05 cpoetter

I'm experiencing the same problem, on a Pi 3 also.

There is no pi-compatible image on Docker Hub. I tested both tags, latest and amd64, and neither are the correct architecture for the Pi.

If you're in a rush to get this setup (like I am), I would recommend cloning the repo and building the Dockerfile manually.

Jekotia avatar May 20 '18 02:05 Jekotia

Yes, there are a few problems when you pull the image from Docker Hub (some stuff in the devel branch might fix it). In the meantime, try what @Jekotia suggested.

InnovativeInventor avatar May 24 '18 02:05 InnovativeInventor

I'm experiencing the same problem, on a Pi 3 also.

There is no pi-compatible image on Docker Hub. I tested both tags, latest and amd64, and neither are the correct architecture for the Pi.

If you're in a rush to get this setup (like I am), I would recommend cloning the repo and building the Dockerfile manually.

I ran into the same issue, pulled the setup.sh script apart and did a build against the local dockerfile. It built the image, but when I run this command:

docker exec -it $container bash install.sh

in the container the screen flashes blue and exits immediately. I've tried executing install.sh from within the container myself, and get the same problem.

Did you have success?

mtraves avatar Sep 21 '18 18:09 mtraves

Hi everyone,

first of all thanks for all the work to dockerize pivpn! I ran into the same problem on my pi3. I tried to build the image from the docker file with the command: docker build -t innovativeinventor/docker-pivpn:armhf . but when I start the setup with sudo bash setup.sh I end up with the following error message: Error: No such container:path: a8db7686701157fe9fc13ff5b7f6353c18bffd17372c8d2bcdf413cacf200979:/home/pivpn/ovpns

I would be really happy about some suggestions and help!

Cheers

ghost avatar Jan 11 '19 20:01 ghost