This article is the 9th article in the D4D series, in this article to introduce you to learn Docker the most efficient way, you do not need to build your own environment, do not worry about your own development environment, you need only a browser, you can immediately start learning Docker's common commands You can even deploy a Docker swarm cluster of 5 server nodes in one click, and the ability to experience the container orchestration platform has never been easier.
This magical site is the PWD, full name: play-with-docker.cn (translation should be called Docker playground, but I still gave him a good name: Docker lab, lest the boss see you open this site think you do not do the right thing:)
Address: http://play-with-docker.cn
Talk less, come to a 3-minute video to see what this site can do
Play-with-docker.cn is actually the Chinese version of play-with-docker.com. On the dockercon of 2017, Marcos Liljedhal and Jonathan Leibiusky two engineers showed their own hack of a small toy that allows you to create a server directly inside the browser and run the Docker command. The little toy was a sensation on the Dockercon, and many people started using play-with-docker.com to learn Docker technology after the meeting, and many technical trainers used it to demonstrate at various conferences, which was very convenient for everyone. Because such a sandbox environment allows you to quickly create and destroy environments without worrying about messing up your computer. However, for China's developers is not so happy, because everyone is guided by the reason, PWD in China's network is basically not available. To help developers in China use this magical site, Leansoft's team has localized the tool (Chinese + resource localization) to ensure that Chinese developers have a consistent experience with developers around the world, and that the current play-with-docker.cn Site hosting in the Microsoft Azure cloud Beijing century interconnection, to provide you with a fast access experience.
Don't underestimate the toy, it's really cool to use it.
1. Seconds to create a server node: You can click "Create a new instance" to create a server node, which is actually simulated using Dind (Docker in Docker) technology, that is, we run multiple Docker containers on a single host, Use each container as a server for you. So this node is created super fast.
2. The SSH client inside the browser: you do not have to install the SSH tool, even if using Windows can easily connect to the node's SSH server directly with the browser; for beginners, Installing an SSH client and figuring out how to connect to the server might scare off a bunch of people.
3. Auto Open port: After running the Docker app, if the container needs to open the external port, PWD will automatically convert the port into a URL to be exposed to the user, so that the server firewall does not have to make any modifications, any port can be converted to 80 or 443 to access the URL map.
4. One click to build a cluster: container orchestration is a very interesting thing, I believe every little friend to play Docker want to try, but there are so many resources, and the building is also very troublesome. With PWD These are not things, directly select the number of nodes you need and the combination, one button to get it done.
Isn't it interesting? Sign in now and play Docker with http://play-with-docker.cn. If you want to know how it works, you are welcome to get the source code from our GitHub address and join us hack!
Https://github.com/lean-soft/play-with-docker
Related articles:
- Docker4dev 8.1– The Three Kingdoms kill the Docker bag: out of nothing
- Docker4dev #7 New bottle of wine – Run the ASP. NET MVC 2 + SQLExpress app using Windows container
- Docker4dev #6 use Windows Container to run. NET Apps
- Docker4dotnet #5 use Vsts/tfs to build a container-based, continuous delivery pipeline
- Docker4dotnet #3 Developing ASP. NET core and MySQL applications using visual Studio code and Docker on MacOS
- Docker4dotnet #2 containerized Host
- Docker4dotnet #1 past life & World Hello
Please follow the public number "Devopshub" For more information on DevOps integration
?
D4d#9 play Docker as long as the browser is enough, PWD is a magical website