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