Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile: Add docker image support
Usage: 1. Build the docker image $ docker build -t tinylab/linux-0.11-lab ./ 2. Start the Lab environment server $ CONTAINER_ID=$(docker run -d -p 6080:6080 dorowu/ubuntu-desktop-lxde-vnc) 3. Get the login password $ docker logs $CONTAINER_ID | sed -n 1p User: ubuntu Pass: ubuntu 4. Login http://localhost:6080/vnc.html Or $ docker exec 8222763de ifconfig eth0 | grep "inet addr:" inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 http://172.17.0.1:6080/vnc.html Signed-off-by: Wu Zhangjin <[email protected]>
- Loading branch information