Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 177
    • Merge Requests 177
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12091

Closed
Open
Opened Nov 10, 2020 by Andreas Treichel@blar
  • Report abuse
  • New issue
Report abuse New issue

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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: alpine/aports#12091