Advertisement
sandervanvugt

Untitled

Apr 19th, 2021
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. 59 sudo podman logs angry_saha
  2. 60 man podman-run
  3. 61 sudo podman run -d -e MYSQL_ROOT_PASSWORD=password mariadb
  4. 62 sudo podman ps
  5. 63 history
  6. 64 podman images
  7. 65 podman image ls
  8. 66* alias docker=pod
  9. 67 podman image -h
  10. 68 ./countdown 12
  11. 69 podman image ls
  12. 70 podman pull nginx:1.16
  13. 71 skopeo inspect nginx
  14. 72 skopeo inspect nginx:latest
  15. 73 skopeo inspect docker.io/library/nginx:latest
  16. 74 skopeo inspect docker://docker.io/library/nginx:latest
  17. 75 cd
  18. 76 podman save -o bitnginx.tar quay.io/bitnami/nginx
  19. 77 podman images
  20. 78 podman save -o bitnginx.tar docker.io/library/nginx
  21. 79 ls -l
  22. 80 podman run nginx --name newnginx
  23. 81 podman run -h
  24. 82 man podman-run
  25. 83 podman run --name newnginx nginx
  26. 84 podman run --name newnginx -d nginx
  27. 85 podman run --name newnginx2 -d nginx
  28. 86 unalias docker
  29. 87 docker ps
  30. 88 podman ps
  31. 89 podman exec -it newnginx2 sh
  32. 90 podman ps
  33. 91 podman diff newnginx2
  34. 92 podman commit newnginx2
  35. 93 podman ps
  36. 94 podman inspect newnginx2 | less
  37. 95 history
  38. 96 man semanage-fcontext
  39. 97 podman search mysql
  40. 98 podman pull registry.access.redhat.com/rhscl/mysql-57-rhel7
  41. 99 podman inspect registry.access.redhat.com/rhscl/mysql-57-rhel7 | less
  42. 100 sudo mkdir /srv/dbfiles
  43. 101 sudo chown -R 27:27 /srv/dbfiles
  44. 102 sudo ls -ld /srv/dbfiles/
  45. 103 sudo semanage fcontext -a -t container_file_t "/srv/dbfiles(/.*)?"
  46. 104 sudo ls -ld /srv/dbfiles/
  47. 105 sudo ls -ldZ /srv/dbfiles/
  48. 106 sudo restorecon -Rv /srv/dbfiles/
  49. 107 sudo podman run -d -v /srv/dbfiles:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password registry.access.redhat.com/rhscl/mysql-57-rhel7
  50. 108 ls -l /srv/dbfiles/
  51. 109 history
  52. 110 id student
  53. 111 luth/countdown 18
  54. 112 history
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement