Created
April 23, 2019 18:40
-
-
Save danmack/0829316da83d8510eaec8cff908bcec0 to your computer and use it in GitHub Desktop.
fedora 30 - building container image fails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mack@hyperion skunk]$ cat mk-fc30-image | |
#!/bin/bash | |
cont=$(buildah from fedora:30) | |
buildah run "$cont" -- dnf update -y | |
buildah commit "$cont" fc30b | |
[mack@hyperion skunk]$ buildah images | |
IMAGE NAME IMAGE TAG IMAGE ID CREATED AT SIZE | |
docker.io/library/fedora 30 ad0d3c0bf762 Apr 3, 2019 17:20 311 MB | |
localhost/fc30b latest e1e8d0d135a7 Apr 23, 2019 13:35 311 MB | |
[mack@hyperion skunk]$ buildah ps | |
CONTAINER ID BUILDER IMAGE ID IMAGE NAME CONTAINER NAME | |
96e3d0f750fc * ad0d3c0bf762 docker.io/library/fedora:30 fedora-working-container | |
[mack@hyperion skunk]$ buildah run 96e3d0f750fc -- bash | |
container_linux.go:345: starting container process caused "set process label: write /proc/self/task/1/attr/exec: invalid argument" | |
error running container: error creating container for [/usr/bin/bash]: : exit status 1 | |
error while running runtime: exit status 1 | |
ERRO[0000] exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment