Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost sample-dockerfile]$ history
- 1 sudo -i
- 2 sudo podman search ubi
- 3 sudo podman pull registry.access.redhat.com/ubi8/ubi
- 4 sudo cat /etc/containers/registries.conf | less
- 5 podman images
- 6 sudo podman images
- 7 history
- 8 podman run ubi8
- 9 podman ps
- 10 podman ps -a
- 11 podman run ubi8/ubi echo hello world
- 12 podman ps
- 13 podman ps -a
- 14 podman run nginx
- 15 podman search nginx | less
- 16 podman run registry.access.redhat.com/ubi7/nginx-120
- 17 podman ps
- 18 podman ps -a
- 19 podman run bitnami/nginx
- 20 podman run -d bitnami/nginx
- 21 podman ps
- 22 podman run -it ubi8
- 23 sudo dnf install -y vim git
- 24 sudo subscription-manager
- 25 sudo subscription-manager register
- 26 sudo subscription-manager attach
- 27 sudo dnf install -y vim git
- 28 git clone https://github.com/sandervanvugt/ex180
- 29 cd ex180/
- 30 ls
- 31 ./countdown 12
- 32 podman ps
- 33 ip a
- 34 podman inspect frosty_herschel | less
- 35 podman inspect frosty_herschel -f {{.NetworkSettings.IPAddress}}"
- 36 podman inspect frosty_herschel -f "{{.NetworkSettings.IPAddress}}"
- 37 sudo podman run -d docker.io:binami/nginx
- 38 sudo podman run -d bitnami/nginx
- 39 sudo ip a
- 40 sudo podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 41 sudo ps faux
- 42 podman run -it busybox
- 43 docker ps
- 44 sudo dnf install docker-podman
- 45 sudo dnf install podman-docker
- 46 docker ps
- 47 sudo podman run mariadb
- 48 podman ps
- 49 podman ps -a
- 50 sudo podman ps -a
- 51 sudo podman logs 085
- 52 sudo podman run mariadb -d -e MARIADB_ROOT_PASSWORD
- 53 sudo podman run -d -e MARIADB_ROOT_PASSWORD=password mariadb
- 54 sudo podman ps
- 55 podman login registry.access.redhat.com
- 56 podman login docker.io
- 57 podman images
- 58 sudo podman images
- 59 podman image inspect 1b7
- 60 podman image inspect 1b7 | less
- 61 docker images
- 62 podman image -h
- 63 podman images -h
- 64 podman -h
- 65 podman --help
- 66 podman image --help
- 67 podman ps
- 68 podman exec -it 742 sh
- 69 podman ps
- 70 docker commit --help | less
- 71 podman commit 742 woz:1.0
- 72 podman images
- 73 podman save localhost/woz -o woz.tar
- 74 podman save localhost/woz:1.0 -o woz.tar
- 75 ls -l
- 76 history
- 77 sudo dnf provides */skopeo
- 78 sudo dnf install skopeo
- 79 skopeo inspect docker://docker.io/bitnami/mysql
- 80 podman images
- 81 pomdna tag localhost/woz localhost/woz:1.1
- 82 podman tag localhost/woz localhost/woz:1.1
- 83 podman tag localhost/woz:1.0 localhost/woz:1.1
- 84 podman images
- 85 podman rmi localhost/woz:latest
- 86 podman rmi localhost/woz:1.1
- 87 history
- 88 ./countdown 12
- 89 podman run -it docker.io/bitnami/nginx sh
- 90 podman ps -a
- 91 podman exec -it 6dd sh
- 92 podman ps
- 93 podman search mysql | grep rhscl
- 94 sudo podman pull registry.access.redhat.com/rhscl/mysql-57-rhel7
- 95 sudo podman inspect registry.access.redhat.com/rhcsl/mysql-57-rhel7
- 96 sudo podman inspect registry.access.redhat.com/rhscl/mysql-57-rhel7
- 97 sudo podman inspect registry.access.redhat.com/rhscl/mysql-57-rhel7 | less
- 98 sudo mkdir /srv/dbfiles
- 99 sudo chown -R 27:27 /srv/dbfiles
- 100 ls -ld /srv/dbfiles/
- 101 ls -ldZ /srv/dbfiles/
- 102 sudo semanage fcontext -a -t container_file_t "/srv/dbfiles(/.*)?"
- 103 sudo restorecon -Rv /srv/dbfiles
- 104 ls -ldZ /srv/dbfiles/
- 105 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 106 sudo podman ps
- 107 ls -l /srv/dbfiles/
- 108 ls -lZ /srv/dbfiles/
- 109 pwd
- 110 cd
- 111 whoami
- 112 mkdir dbfiles
- 113 ls -lZd dbfiles/
- 114 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 115 podman ps
- 116 ls -lZd /home/student/dbfiles/
- 117 history
- 118 podman run -d -p 88:80 nginx
- 119 skopeo docker://docker.io/bitnami/nginx
- 120 skopeo inspect docker://docker.io/bitnami/nginx | less
- 121 podman run -d -p 8088:80 docker.io/bitnami/nginx
- 122 podman ps
- 123 curl localhost:8088
- 124 ip a
- 125 curl 192.168.29.150:8088
- 126 podman ps
- 127 podman kill 989
- 128 podman run -d -p 127.0.0.1:8088:80 docker.io/bitnami/nginx
- 129 curl localhost:8088
- 130 cd ex180/
- 131 curl http://localhost:8088
- 132 ./countdown 18
- 133 history
- 134 podman inspect docker.io/bitnami/nginx | less
- 135 podman ps
- 136 podman stop 2e3
- 137 podm rm 2e3
- 138 podman rm 2e3
- 139 podman run -d -p 8088:8080 docker.io/bitnami/nginx
- 140 curl localhost:8080
- 141 curl localhost:8088
- 142 sudo podman run -it quay.io/quay/busybox sh
- 143 ps aux | grep sleep
- 144 podman run -it quay.io/quay/busybox sh
- 145 ps aux | grep sleep
- 146 sudo podman run -it -u 27 quay.io/quay/busybox sh
- 147 ps aux | grep sleep
- 148 podman run -it -u 27 quay.io/quay/busybox sh
- 149 ps aux | grep sleeep
- 150 ps aux | grep sleep
- 151 sudo podman
- 152 sudo podman ps
- 153 sudo podman attach 73c
- 154 ps aux | grep sleep
- 155 podman ps
- 156 podman attach 2f2b
- 157 ps aux | grep sleep
- 158 podman top -l user huser args
- 159 cd
- 160 ls -ldZ dbfiles/
- 161 podman unshare ls -ld /home/student/dbfiles
- 162 podman unshare chown 27:27 -R dbfiles
- 163 podman unshare ls -ld /home/student/dbfiles
- 164 ls -ld /home/student/files
- 165 ls -ld /home/student/dbfiles
- 166 podman top -l user huser
- 167 cd ex180/
- 168 ./countdown 10
- 169 sudo dnf provides */Dockerfile
- 170 sudo dnf provides */Containerfile
- 171 sudo dnf install buildah-test
- 172 sudo dnf install buildah-tests
- 173 less /usr/share/buildah/test/system/bud/copy-globs/Containerfile
- 174 ls
- 175 cd sample-dockerfile/
- 176 ls
- 177 vim Dockerfile
- 178 podman build -t centmap:1.0 .
- 179 podman images
- 180 vim Dockerfile
- 181 podman build -t ubimap:1.0 .
- 182 podman images
- 183 vim Dockerfile
- 184 podman build -t alpmap .
- 185 podman images
- 186 podman run alpmap
- 187 podman run -it alpmap sh
- 188 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement