buildah

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
sudo pacman -S fuse-overlayfs
sudo pacman -S buildah

# login
buildah login container.wiloon.com
buildah login --tls-verify=false container.wiloon.com

# buildah needs to run as root!!!
# list all the images
buildah images

# build
### buildah bud -f Dockerfile -t <tag0> .
buildah bud -f Dockerfile -t fedora-httpd .
buildah push registry.wiloon.com/pingd-proxy:v0.0.1

# list all containers
buildah containers
buildah run <container name>
buildah run $container -- dnf -y install java
buildah rm $newcontainer


buildah push fedora-bashecho docker-daemon:fedora-bashecho:latest
container0=$(buildah from timer0)
buildah run $container0