X Tutup
The Wayback Machine - https://web.archive.org/web/20210109034951/https://github.com/docker/labs/issues/404
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

Issue running dockersamples/static-site on Raspbian (Raspberry Pi 3) #404

Open
brunoRyckaert opened this issue Mar 1, 2018 · 3 comments
Open

Comments

@brunoRyckaert
Copy link

@brunoRyckaert brunoRyckaert commented Mar 1, 2018

Please provide the following information so we can assess the issue you're having

Which lab is it that you're having issues with?
https://github.com/docker/labs/blob/master/beginner/chapters/webapps.md

Description
When running docker run --name static-site -e AUTHOR="Your Name" -d -P dockersamples/static-site, the container seems to start, and it returns the container id. However, docker port static-site does not return anything, and docker ps returns no rows (other than the header).

docker ps -a indicates the container started, and exited a few second later with exit code 1.
738cc5bf48f5 dockersamples/static-site "/bin/sh -c 'cd /usr…" 12 seconds ago Exited (1) 10 seconds ago static-site

docker info returns 0 running containers.

When trying to run the container again, it returns an error message that the container name is already in use by the container (and gives the container id of that container). When using sudo docker rm <id> it returns the container id. Issuing the command once more, returns that there is no such container (as expected).

Steps to reproduce the issue, if relevant:

  1. Install Docker through the install script (Raspbian on Raspberry Pi 3)
  2. (sudo) docker run --name static-site -e AUTHOR="Your Name" -d -P dockersamples/static-site
  3. (sudo) docker ports static-site

Describe the results you received:
Nothing.

Describe the results you expected:

443/tcp -> 0.0.0.0:32772
80/tcp -> 0.0.0.0:32773

(or similar)

Additional information you deem important (e.g. issue happens only occasionally):
hello-world, ubuntu and alpine images ran fine.

Output of docker version:

Client:
 Version:       18.02.0-ce
 API version:   1.36
 Go version:    go1.9.3
 Git commit:    fc4de44
 Built: Wed Feb  7 21:23:59 2018
 OS/Arch:       linux/arm
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      18.02.0-ce
  API version:  1.36 (minimum version 1.12)
  Go version:   go1.9.3
  Git commit:   fc4de44
  Built:        Wed Feb  7 21:20:04 2018
  OS/Arch:      linux/arm
  Experimental: false

Output of docker info:

Containers: 9
 Running: 0
 Paused: 0
 Stopped: 9
Images: 4
Server Version: 18.02.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Kernel Version: 4.9.35-v7+
Operating System: Raspbian GNU/Linux 8 (jessie)
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 970.9MiB
Name: raspberrypi
ID: TNR5:GC45:QSRR:D5NV:F2VF:6QRV:A3DI:GTRP:3YDU:JEFS:XGY7:FIEB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpuset support

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):
Physical Raspberry Pi 3.

@dodds2009
Copy link

@dodds2009 dodds2009 commented Aug 8, 2018

I have this exact problem as well, did you ever find a way round this?

@braunschweig
Copy link

@braunschweig braunschweig commented May 28, 2019

same issue here, but no solution :(

@FudgementDay
Copy link

@FudgementDay FudgementDay commented May 14, 2020

Still happening a year later...

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.
X Tutup