Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost sample-dockerfile]$ history
- 1 sudo podman search ubi
- 2 sudo podman pull registry.access.redhat.com/ubi9/ubi
- 3 sudo podman images
- 4 podman images
- 5 podman run ubi
- 6 podman run registry.access.redhat.com/ubi9/ubi
- 7 podman ps
- 8 podman ps -a
- 9 podman run registry.access.redhat.com/ubi9/ubi echo hello world
- 10 podman ps
- 11 podman ps -a
- 12 podman run nginx
- 13 podman run -d nginx
- 14 podman ps
- 15 podman run -it registry.access.redhat.com/ubi9/ubi
- 16 podman ps
- 17 sudo dnf install git
- 18 git clone https://github.com/sandervanvugt/ex180
- 19 cd ex180/
- 20 ls
- 21 ./countdown 12
- 22 podman os
- 23 podman ps
- 24 sudo ip a
- 25 podman inspect -l
- 26 podman inspect -l | less
- 27 podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 28 sudo podman run -d nginx
- 29 sudo podman search nginx
- 30 sudo podman run -d docker.io/ubuntu/nginx
- 31 sudo podman ps
- 32 sudo ip -a
- 33 sudo ip a
- 34 sudo podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 35 sudo ip a
- 36 podman run -it busybox
- 37 ps faux | grep busybox
- 38 ps faux | less
- 39 sudo podman run mariadb
- 40 sudo podman ps
- 41 sudo podman ps -a
- 42 sudo podman logs a63
- 43 sudo podman run mariadb -e MYSQL_ROOT_PASSWORD=password
- 44 sudo podman run -e MYSQL_ROOT_PASSWORD=password mariadb
- 45 sudo vim /etc/containers/registries.conf
- 46 podman login docker.io
- 47 podman images
- 48 podman rmi docker.io/library/nginx:latest
- 49 podman ps
- 50 podman stop 0e2bb
- 51 podman rmi docker.io/library/nginx:latest
- 52 podman ps
- 53 podman ps -a
- 54 podman rm 0e2bb
- 55 podman rmi docker.io/library/nginx:latest
- 56 podman rmi --force docker.io/library/nginx:latest
- 57 sudo podman pull busybox
- 58 sudo podman images
- 59 sudo podman pull busybox:1.27
- 60 sudo podman images
- 61 sudo podman inspect 6ad7 | less
- 62 sudo podman inspect 62ae | less
- 63 skopeo inspect docker://docker.io/library/busybox | less
- 64 sudo dnf install -y skopeo
- 65 skopeo inspect docker://docker.io/library/busybox | less
- 66 skopeo inspect docker://docker.io/library/busybox
- 67 podman images
- 68 podman tag busybox busybox:sander
- 69 podman images
- 70 ./countdown 13
- 71 podman images
- 72 podman image inspect c1f
- 73 podman image inspect c1f | less
- 74 podman ps
- 75 podman run quay.io/bitnami/nginx
- 76 podman search nginx | grep bitnami
- 77 podman run docker.io/bitnami/nginx
- 78 podman run -d docker.io/bitnami/nginx
- 79 podman ps
- 80 podman exec -it silly_booth sh
- 81 podman ps
- 82 sudo find . -name "c5131*"
- 83 sudo find . -name "c5131"
- 84 sudo find ~ -name "c5131*"
- 85 cd /home/student/.local/share/containers/storage/overlay-containers/c5131f23a4126a3a957c12b70ecbdb8adbb3a756e1a93e24db5a8c88e273066a
- 86 ls
- 87 cd userdata/
- 88 ls
- 89 cd ..
- 90 pwd
- 91 cd ..
- 92 ls
- 93 cd
- 94 podman search mysql
- 95 podman search mysql | grep rhscl
- 96 sudo podman pull registry.access.redhat.com/rhscl/mysql-57-rhel7
- 97 sudo podman pull registry.access.redhat.com/rhscl/mysql-80-rhel7
- 98 sudo podman inspect registry.access.redhat.com/rhscl/mysql-57-rhel7
- 99 sudo podman inspect registry.access.redhat.com/rhscl/mysql-80-rhel7
- 100 sudo mkdir /srv/dbfiles
- 101 sudo chown -R 27:27 /srv/dbfiles
- 102 ls -lZ /srv/dbfiles/
- 103 ls -lZd /srv/dbfiles/
- 104 sudo semanage fcontext -a -t container_file_t "/srv/dbfiles(/.*)?"
- 105 sudo restorecon -Rv /srv/dbfiles
- 106 sudo run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-80-rhel7
- 107 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-80-rhel7
- 108 sudo podman ps
- 109 sudo ls -l /srv/dbfiles
- 110 mkdir dbfiles
- 111 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-80-rhel7
- 112 podman ps
- 113 ls -ldZ dbfiles/
- 114 podman run -d -p 8088:80 nginx
- 115 podman ps
- 116 curl localhost:8088
- 117 sudo podman run -d -p 8089:80 nginx
- 118 curl localhost:8089
- 119 cd ex180/
- 120 ./countdown 18
- 121 sudo podman run -it quay.io/quay/busybox sh
- 122 ps aux | grep sleep
- 123 podman run -it quay.io/quay/busybox sh
- 124 ps aux | grep sleep
- 125 sudo podman run -it -u 27 quay.io/quay/busybox sh
- 126 ps aux | grep sleep
- 127 podman run -it -u 27 quay.io/quay/busybox sh
- 128 ps aux | grep sleep
- 129 ./countdown 1
- 130 history
- 131 podman run -it quay.io/quay/busybox sh
- 132 podman run -it docker.io/ubo9/ubi
- 133 podman search ubi9
- 134 podman run -it docker.io/redhat/ubi9 bash
- 135 ps aux | grep 5000
- 136 podman top -l user huser args
- 137 cd
- 138 mkdir dbfiles
- 139 mkdir newdb
- 140 ls -ld newdb
- 141 podman run -d -v /home/student/newdb:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-80-rhel7
- 142 podman ps
- 143 ls -ldZ newdb/
- 144 ls -lZ newdb/
- 145 podman unshare ls -l newdb/
- 146 mkdir owners
- 147 ls -ld owners/
- 148 podman unshare chown 27:27 owners/
- 149 ls -ld owners/
- 150 podman unshare ls -ld owners/
- 151 podman top -l user huser
- 152 sudo dnf provides */Dockerfile
- 153 sudo dnf install pki-acme
- 154 history
- 155 less /usr/share/pki/acme/Dockerfile
- 156 cd ex180/
- 157 ./countdown 12
- 158 ls
- 159 cd sample-dockerfile/
- 160 vim Dockerfile
- 161 podman build -t sandermap .
- 162 podman imagew
- 163 podman images
- 164 podman run localhost/sandermap
- 165 podman run localhost/sandermap -sn 10.88.0.0/24
- 166 vim Dockerfile
- 167 podman run -it localhost/sandermap bash
- 168 vim Dockerfile
- 169 podman build -t sandermapper .
- 170 podman run -it sandermapper:latest /bin/bash
- 171 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement