Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 git clone https://github.com/sandervanvugt/ex180
- 2 cd ex180/
- 3 ls
- 4 cd ..
- 5 cat /etc/redhat-release
- 6 free -m
- 7 df -h
- 8 lscpu
- 9 sudo podman search ubi
- 10 sudo podman search ubi | less
- 11 sudo podman pull ubi8/ubi
- 12 sudo podman images
- 13 podman images
- 14 sudo podman login registry.access.redhat.com
- 15 history
- 16 git clone https://github.com/sandervanvugt/ex180
- 17 cd ex180/
- 18 ls
- 19 cd ..
- 20 git clone https://github.com/sandervanvugt/luth
- 21 cd luth
- 22 ./countdown 12
- 23 podman run ubi8
- 24 podman ps
- 25 podman ps -a
- 26 podman run ubi8/ubi echo hello world
- 27 podman ps
- 28 podman ps -a
- 29 podman run nginx
- 30 podman search nginx
- 31 podman login docker.io
- 32 podman run nginx
- 33 podman run quay.io/bitnami/nginx
- 34 podman run -d quay.io/bitnami/nginx
- 35 podman ps
- 36 podman run -it ubi8/ubi /bin/bash
- 37 podman ps
- 38 history
- 39 podman ps
- 40 podman exec -it hardcore_williamson /bin/bash
- 41 podman run -d quay.io/bitnami/nginx
- 42 podman ps
- 43 sudo ip a
- 44 podman inspect -l
- 45 podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 46 sudo podman run -d nginx
- 47 sudo podman run -d quay.io/bitnami/nginx
- 48 sudo podman ps
- 49 sudo ip a
- 50 sudo podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 51 podman run -it busybox sh
- 52 podman run -it quay.io/busybox sh
- 53 podman run -it ubi8/ubi sh
- 54 podman ps
- 55 ps fax
- 56 ps -ef
- 57 pstree
- 58 sudo pstree
- 59 ps fax | grep runc
- 60 podman ps
- 61 sudo podman ps
- 62 podman search mariadb
- 63 sudo podman run registry.redhat.io/rhscl/mariadb-101-rhel7
- 64 sudo podman login registry.redhat.io
- 65 sudo podman run registry.redhat.io/rhscl/mariadb-101-rhel7
- 66 sudo podman ps
- 67 sudo podman ps -a
- 68 sudo podman logs wonderful_mclaren
- 69 sudo podman run -d -e MYSQL_ROOT_PASSWORD=password registry.redhat.io/rhscl/mariadb-101-rhel7
- 70 sudo podman ps
- 71 ./countdown 12
- 72 sudo vim /etc/containers/registries.conf
- 73 podman images
- 74 sudo podman images
- 75 podman rmi registry.access.redhat.com/ubi8/ubi
- 76 podman rmi registry.access.redhat.com/ubi8
- 77 sudo podman pull rhscl/mysql-57-rhel7:5.7
- 78 sudo podman run registry.access.redhat.com/rhscl/mysql-57-rhel7:5.7
- 79 sudo podman run registry.access.redhat.com/rhscl/mysql-57-rhel7
- 80 sudo yum install -y skopeo
- 81 skopeo inspect registry.access.redhat.com/rhscl/mysql-57-rhel7:5.7
- 82 skopeo inspect docker://registry.access.redhat.com/rhscl/mysql-57-rhel7
- 83 podman run bitnami/nginx --name newnginx
- 84 podman run --name newnginx bitnami/nginx
- 85 podman run -d --name newnginx bitnami/nginx
- 86 podman run -d --name newnginx2 bitnami/nginx
- 87 podman ps
- 88 podman exec -it newnginx2 sh
- 89 podman diff newnginx2
- 90 podman commit newnginx2
- 91 podman images
- 92 history
- 93 ./countdown 18
- 94 podman ps
- 95 podman inspect newnginx2 | less
- 96 podman image inspect quay.io/bitnami/nginx
- 97 podman image inspect quay.io/bitnami/nginx | less
- 98 ls -Zd /home/ansible
- 99 podman search mysql
- 100 sudo podman pull registry.access.redhat.com/rhscl/mysql-57-rhel7
- 101 sudo podman inspect registry.access.redhat.com/rhscl/mysql-57-rhel7 | less
- 102 sudo mkdir /srv/dbfiles
- 103 ls -ld /srv/dbfiles
- 104 ls -ldZ /srv/dbfiles
- 105 sudo chown -R 27:27 /srv/dbfiles
- 106 ls -ldZ /srv/dbfiles
- 107 sudo semanage fcontext -a -t container_file_t "/srv/dbfiles(/.*)?"
- 108 ls -ldZ /srv/dbfiles
- 109 sudo restorecon -Rv /srv/dbfiles
- 110 man semanage-fcontext
- 111 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 112 ls -l /srv/dbfiles/
- 113 history
- 114 mkdir dbfiles
- 115 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 116 mkdir /home/ansible/dbfiles
- 117 podman ps
- 118 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 119 cd
- 120 ls -ld dbfiles/
- 121 podman run -d -v /home/ansible/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
- 122 ls -ldZ dbfiles/
- 123 ls dbfiles/
- 124 podman ps -a
- 125 podman logs unruffled_montalcini
- 126 luth/countdown 12
- 127 sudo podman run -d -p 8088:80 nginx
- 128 sudo podman ps
- 129 curl localhost:8088
- 130 cd ex180/
- 131 la
- 132 ls
- 133 cd sample-dockerfile/
- 134 history | grep git
- 135 ls
- 136 vim Dockerfile
- 137 podman build -t nmap .
- 138 podman images
- 139 podman run localhost/nmap
- 140 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement