Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 662
    • Issues 662
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 343
    • Merge requests 343
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Issues
  • #12091
Closed
Open
Issue created Nov 10, 2020 by Andreas Treichel@blar

No network connection on alpine:edge on raspberry pi

When i use alpine:edge on my raspberry pi (version 4) for php 7.4, it cannot access the network and the date shows some really weird values.

Kernel on the Raspberry PI:

root@raspberry2:/home/pi# uname -a
Linux raspberry2 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux

Version of the alpine image:

root@raspberry2:/home/pi# docker pull alpine:edge
edge: Pulling from library/alpine
Digest: sha256:3e92a8388546f6b15943678d323afdbbf1d950368264e0317b45e469dfa81d53
Status: Image is up to date for alpine:edge
docker.io/library/alpine:edge

Ping fails:

root@raspberry2:/home/pi# docker run --rm alpine:edge ping 8.8.8.8
ping: clock_gettime(MONOTONIC) failed
PING 8.8.8.8 (8.8.8.8): 56 data bytes

apk also fails:

root@raspberry2:/home/pi# docker run --rm alpine:edge apk add --no-cache curl
fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz: temporary error    (try again later)
fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz: temporary error (try again later)
ERROR: unsatisfiable constraints:
  curl (missing):
    required by: world[curl]

Date is wrong:

root@raspberry2:/home/pi# docker run --rm alpine:edge date
Sun Jan  0 00:100:4174038  1900

Timestamp:

root@raspberry2:/home/pi# docker run --rm alpine:edge date +%s
187882143048

Test timestamps:

for i in $(seq 1 10); do date +%s; sleep 1; done
187886587160
187885657368
187886570776
187886288152
187882630424
187880373528
187883699480
187883957528
187883683096
187881856280

With the previous version (I don't know the correct sha256) date and network connections work:

docker run --rm alpine:edge@sha256:9e911084d6764835ad58920aa50df63c679bdae9379ee62a458b8bfd5b2fbb67 date
Tue Nov 10 00:24:21 UTC 2020
Edited Nov 10, 2020 by Andreas Treichel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking