Last active
August 29, 2015 13:58
-
-
Save rexcze-zz/10293738 to your computer and use it in GitHub Desktop.
docker xspice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#running | |
JOB=$( sudo docker run -d -p 5901 fedora20/kde Xspice --disable-ticketing --xsession /usr/bin/startkde :1 --port 5901) | |
PORT=$( sudo docker port $JOB 5901 | awk -F: '{ print $2 }') | |
remote-viewer spice://localhost:${PORT} | |
#run in commandline | |
sudo docker run -i fedora20/kde /bin/bash | |
#commit changes | |
sudo docker commit `sudo docker ps|grep "fedora20/kde:latest"|awk '{ print $1}'` fedora20/kde:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment