鋼鐵直男馬克
原來 docker build 只是方便版的 docker run
鋼鐵直男馬克
docker run --interactive --tty --env container=docker --stop-signal=SIGRTMIN+3 --tmpfs /run --tmpfs /tmp --volume /sys/fs/cgroup:/sys/fs/cgroup:ro --publish 0.0.0.0:3389:3389 --name vncserver centos /usr/sbin/init
鋼鐵直男馬克
yum install epel-release
鋼鐵直男馬克
yum install update
鋼鐵直男馬克
yum group install Xfce
鋼鐵直男馬克
yum install xrdp tigervnc-server
鋼鐵直男馬克
systemctl start xrdp
鋼鐵直男馬克
echo "xfce4-session" > ~/.Xclients
鋼鐵直男馬克
chmod u+x ~/.Xclients
鋼鐵直男馬克
==done==
載入新的回覆