![]() In consequence, I got stuck in starting docker-engine, though I found the solution on StackOverflow. P.S.: I used Ubuntu 16.04 LTS image at first, which is the lastest. My Linux image is Ubuntu 14.04 LTS, installation is quite easy 5, simply execute: Luckily, Linode has started to support Docker since 2014 4. I want to continue to use and build Docker on my current VPS node, as it has a good latency between Tokyo and Beijing, with a low ping of about 80ms. And Docker is a trend in infrastructure field. Even I can scale my applications by the power of Docker.Įvery cutting-edge popular (somehow over-hyped) technology solves problems. I can run the independent parts in different containers and rebuild a new Linode by initiating all the containers in an efficient way. 3ĭocker just meets my requirement, because of its container system. This makes for efficient, lightweight, self-contained systems and guarantees that software will always run the same, regardless of where it’s deployed. Unlike VMs, containers do not bundle a full operating system - only libraries and settings required to make the software work are needed. Using containers, everything required to make a piece of software run is packaged into isolated containers. Programs run in restricted sandboxes with isolated resources.ĭocker is a major containerization software, which packs applications into image and runs in container.For example, iptables is needed by VPN and it may cause failure of Nginx’s port with wrong configuration.Īlso, it’s not only a production server but also used in development mode, which generates trashes in system folders. Disturbance Among Servicesĭifferent programs may have conflicts with each other. For example, Shell injection and actually I just fixed one on the projects. In addition to aforementioned attacks, there are other kind of security risks. Especially setting up VPN server is not easy and fallible. I then changed the default SSH port and it took tens of minutes to rebuild manually. On July, it was attacked and I had to rebuild my Linode. VPS provisioning is not automated and manual provisioning is trivial and boring. It seems not complicated but I did encounter problems on ops and security. PPTP VPN (changed to L2TP, since PPTP support is removed in iOS 10 2).Shadowsocks server (the core function, VPN is kind of a substitute).Personal website (generated by Jekyll, HTTPS certificated by Certbot 1, served by Nginx).With the deterioration of China’s web environment, I have to build VPN and Shadowsocks for myself, which is useful for productivity.Īt present, there are several services running on the VPS: I update and deploy my personal website frequently, and I use GitHub webhook to trigger the updating script. So far, I use Linode VPS to deploy my websites. Thus, I decided to try Docker and now I want to share the process and my thought. Fortunately, I encountered problems with my own VPS. I have no chance to use Docker, since the company I serve has been on private PaaS years before. Docker is the hyped technology in backend recently.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |