I am new on docker with raspberry pi. I just write a “Dockerfile” to start to build the first project. However, I get lots of shit in the beginning.
The first issues is unable to use multiple --build-arg to build it. I seen the similar issues. Currently, I reduce only one --build-arg flag to build and it get started.
But, the second matter is on “RUN apt-get install package”. I cut the phrase of error to paste here. It seems the matter on network.
Err http://archive.raspbian.org jessie InRelease Err http://archive.raspberrypi.org jessie InRelease Err http://archive.raspbian.org jessie Release.gpg Unable to connect to 188.8.131.52:8080: Err http://archive.raspberrypi.org jessie Release.gpg Unable to connect to 184.108.40.206:8080: Reading package lists... W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/InRelease W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/Release.gpg Unable to connect to 220.127.116.11:8080: W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Unable to connect to 18.104.22.168:8080: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... E: Unable to locate package upgrade
I run on raspberry 1B+ with docker image-“resin/raspberry-pi-debian:latest”.
This is the output of “docker info”. Wish some help. Thanks.
Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 17 Server Version: 18.05.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: 773c489c9c1b21a6d78b5c538cd395416ec50f88 runc version: 4fc53a81fb7c994640722ac585fa9ca548971871 init version: 949e6fa Security Options: seccomp Profile: default Kernel Version: 4.14.30+ Operating System: Raspbian GNU/Linux 9 (stretch) OSType: linux Architecture: armv6l CPUs: 1 Total Memory: 243.5MiB Name: retropie ID: KRV6:2LEE:LBXW:YPDX:BQJM:6KCB:RRPA:HNV7:JCLX:BDF4:KK7A:PQH4 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 memory limit support WARNING: No swap limit support WARNING: No kernel memory limit support WARNING: No oom kill disable support WARNING: No cpu cfs quota support WARNING: No cpu cfs period support WARNING: No cpuset support