Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost ex188]$ history
- 1 sudo subscription-manager register
- 2 sudo subscription-manager attach
- 3 sudo podman search ubi
- 4 sudo podman pull docker.io/redhat/ubi9
- 5 sudo podman images
- 6 podman images
- 7 podman run docker.io/redhat/ubi9
- 8 podman ps
- 9 podman ps -a
- 10 podman run docker.io/redhat/ubi9 echo hello world
- 11 podman ps -a
- 12 podman run nginx
- 13 podman run -d docker.io/library/nginx
- 14 podman ps
- 15 sudo find . -name "df1a26b046c6*"
- 16 cd ./.local/share/containers/storage/overlay-containers/df1a26b046c60fd5d6d5ebcfe108fdd07000183bb8c73442466dc0ba2a8639a3
- 17 pwd
- 18 ls
- 19 ls userdata/
- 20 du -hs
- 21 cd
- 22 ps faux | less
- 23 podman run -it ubi9 /bin/bash
- 24 podman ps
- 25 git clone https://github.com/sandervanvugt/ex180
- 26 sudo dnf install -y git
- 27 sudo poweroff
- 28 sudo subscription-manager attach
- 29 sudo dnf repolist
- 30 podman run -d nginx
- 31 sudo ip a
- 32 podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 33 podman inspect -l | less
- 34 sudo podman run -d nginx
- 35 sudo ip a
- 36 sudo podman inspect -l -f "{{.NetworkSettings.IPAddress}}"
- 37 podman run -it docker.io/library/busybox
- 38 podman ps
- 39 podman ps -a
- 40 podman run docker.io/library/mariadb
- 41 podman ps
- 42 podman ps -a
- 43 podman logs e0a6
- 44 podman rm e0a
- 45 podman run -d -e MARIADB_ROOT_PASSWORD=password mariadb
- 46 podman ps
- 47 podman stop vigilant_bassi
- 48 podman rm vigilant_bassi
- 49 sudo vim /etc/containers/registries.conf
- 50 podman search nginx-122
- 51 podman run registry.redhat.io/ubi9/nginx-122
- 52 podman login
- 53 podman run -d registry.redhat.io/ubi9/nginx-122
- 54 podman login registry.redhat.io
- 55 podman run -d registry.redhat.io/ubi9/nginx-122
- 56 skopeo inspect docker://registry.access.redhat.com/ubi9/nginx-122
- 57 sudo dnf provides */skopeo
- 58 sudo dnf install skopeo
- 59 skopeo inspect docker://registry.access.redhat.com/ubi9/nginx-122
- 60 skopeo copy docker://registry.access.redhat.com/ubi9/nginx-122 docker://docker.io/sandervanvugt/sanderginx
- 61 podman login docker.io
- 62 skopeo copy docker://registry.access.redhat.com/ubi9/nginx-122 docker://docker.io/sandervanvugt/sanderginx
- 63 podman images
- 64 podman image -h
- 65 podman rmi docker.io/library/mariadb:latest
- 66 podman image prune
- 67 git clone https://github.com/sandervanvugt/ex188
- 68 sudo dnf install -y git
- 69 git clone https://github.com/sandervanvugt/ex188
- 70 cd ex188/
- 71 ls
- 72 ./countdown 12
- 73 history
- 74 podman ps
- 75 podman exec -it f43 sh
- 76 podman search mysql
- 77 sudo podman pull registry.redhat.io/rhscl/mysql-57-rhel7
- 78 sudo podman login registry.redhat.io
- 79 sudo podman pull registry.redhat.io/rhscl/mysql-57-rhel7
- 80 sudo podman image inspect registry.redhat.io/rhscl/mysql-57-rhel7 | less
- 81 sudo mkdir /srv/dbfiles
- 82 sudo chown -R 27:27 /srv/dbfiles
- 83 sudo semanage fcontext -a -t container_file_t "/srv/dbfiles(/.*)?"
- 84 sudo restorecon -Rv /srv/dbfiles
- 85 ls ldZ /srv/dbfiles/
- 86 ls -ldZ /srv/dbfiles/
- 87 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.redhat.io/rhscl/mydql-57-rhel7
- 88 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.redhat.io/rhscl/mysql-57-rhel7
- 89 cd
- 90 pwd
- 91 mkdir dbfiles
- 92 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.redhat.io/rhscl/mysql-57-rhel7
- 93 podman ps
- 94 podman ps -a
- 95 podman logs peaceful_ardinghelli
- 96 ls
- 97 ls -ldZ dbfiles/
- 98 ls -l dbfiles/
- 99 podman run -d -p 8088:80 nginx
- 100 podman ps
- 101 curl 127.0.0.1:8088
- 102 history
- 103 cd ex188/
- 104 ./countdown 20
- 105 sudo podman run -it quay.io/quay/busybox sh
- 106 ps aux | grep sleep
- 107 podman run -it quay.io/quay/busybox sh
- 108 ps aux | grep sleep
- 109 sudo podman run -it -u 27 quay.io/quay/busybox sh
- 110 ps aux | grep sleep
- 111 podman run -it -u 27 quay.io/quay/busybox bash
- 112 podman run -it -u 27 quay.io/quay/busybox sh
- 113 ps aux | grep sleep
- 114 podman ps
- 115 podman attacg 04a
- 116 podman attach 04a
- 117 ps aux | grep 5000
- 118 podman top -l user huser args
- 119 podman top 04a user huser args
- 120 cd
- 121 ls
- 122 ls -lZ dbfiles
- 123 ls -ldZ dbfiles
- 124 podman unshare ls -ldZ dbfiles
- 125 podman unshare chown 27:27 -R dbfiles
- 126 podman unshare ls -ldZ dbfiles
- 127 ls -ld dbfiles/
- 128 ls -ldZ dbfiles/
- 129 history
- 130 podman run -d -v /home/student/dbfiles:/var/lib/mysql:Z -e MYSQL_ROOT_PASSWORD=password registry.redhat.io/rhscl/mysql-57-rhel7
- 131 podman ps
- 132 ls -lZ dbfiles/
- 133 cd ex188/
- 134 ls
- 135 cd sample-containerfile/
- 136 ls
- 137 vim Containerfile
- 138 docker build -t centmap .
- 139 podman build -t centmap .
- 140 podman images
- 141 vim Containerfile
- 142 docker build -t alpmap .
- 143 vim Containerfile
- 144 docker build -t alpmap .
- 145 podman build -t alpmap .
- 146 vim Containerfile
- 147 podman build -t alpmap .
- 148 podman images
- 149 vim Containerfile
- 150 podman build -t ubimap .
- 151 podman images
- 152 ../countdown 12
- 153 podman run alpmap
- 154 sudo podman run alpmap
- 155 sudo podman build -t alpmap .
- 156 sudo podman run alpmap
- 157 vim Containerfile
- 158 sudo podman run alpmap sh
- 159 vim Containerfile
- 160 sudo podman run alpmap sh
- 161 sudo podman build -t cmdmap .
- 162 sudo podman run cmdmap sh
- 163 sudo podman run -it cmdmap sh
- 164 cd ..
- 165 ls
- 166 cd multistage-containerfile/
- 167 ls
- 168 vim Containerfile
- 169 podman build -t multi .
- 170 podman run multi:latest
- 171 vim Containerfile
- 172 sudo dnf install python3-pip
- 173 pip3 install podman-compose
- 174 cd ..
- 175 ls
- 176 vim compose.yaml
- 177 podman-compose -h | less
- 178 podman-compose up -d
- 179 podman ps
- 180 podman-compose logs -n -f
- 181 ls
- 182 vim compose.yaml
- 183 podman ports
- 184 podman port
- 185 podman ps
- 186 history
Advertisement
Add Comment
Please, Sign In to add comment