Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image not found #8

Open
cpoetter opened this issue May 18, 2018 · 4 comments
Open

Docker image not found #8

cpoetter opened this issue May 18, 2018 · 4 comments

Comments

@cpoetter
Copy link

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

@Jekotia
Copy link

Jekotia commented May 20, 2018

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.

@InnovativeInventor
Copy link
Owner

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.

@mtraves
Copy link

mtraves commented Sep 21, 2018

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?

@ghost
Copy link

ghost commented Jan 11, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants