Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. [erik@laptop ~]$ ssh -X testuser@server.example.com
  2.  
  3. [testuser@server ~]$ cd ~/test
  4. [testuser@server test]$ cat Dockerfile
  5. FROM fedora
  6.  
  7. RUN yum -y update
  8. RUN yum -y install xorg-x11-apps && yum clean all
  9.  
  10. CMD [ "/usr/bin/xclock" ]
  11. [testuser@server test]$ buildah bud -t xclockimage .
  12.  
  13. [testuser@server ~]$ podman run -ti -e DISPLAY --rm -v
  14. ~/.Xauthority:/root/.Xauthority:Z localhost/xclockimage
  15. Error: Can't open display: localhost:10.0
  16. [testuser@server ~]$
  17.  
  18. [testuser@server ~]$ cat /etc/redhat-release
  19. Fedora release 29 (Twenty Nine)
  20. [testuser@server ~]$ podman --version
  21. podman version 1.0.0
  22. [testuser@server ~]$ sestatus
  23. SELinux status: enabled
  24. SELinuxfs mount: /sys/fs/selinux
  25. SELinux root directory: /etc/selinux
  26. Loaded policy name: targeted
  27. Current mode: enforcing
  28. Mode from config file: enforcing
  29. Policy MLS status: enabled
  30. Policy deny_unknown status: allowed
  31. Memory protection checking: actual (secure)
  32. Max kernel policy version: 31
  33. [testuser@server ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement