- Create certificates
- Edit Docker options
- Restart Docker
- Copy client certificates from host
- (optional) Add remote endpoint in Portainer
Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.
Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.
I have been an aggressive Kubernetes evangelist over the last few years. It has been the hammer with which I have approached almost all my deployments, and the one tool I have mentioned (shoved down clients throats) in almost all my foremost communications with clients, and it was my go to choice when I was mocking my first startup (saharacluster.com).
A few weeks ago Docker 1.13 was released and I was tasked with replicating a client's Kubernetes deployment on Swarm, more specifically testing running compose on Swarm.
And it was a dream!
All our apps were already dockerised and all I had to do was make a few modificatons to an existing compose file that I had used for testing before prior said deployment on Kubernetes.
And, with the ease with which I was able to expose our endpoints, manage volumes, handle networking, deploy and tear down the setup. I in all honesty see no reason to not use Swarm. No mission-critical feature, or incredibly convenient really nice to have feature in Kubernetes that I'm go
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "GET / HTTP/1.1" 200 902 "-" "Python-urllib/2.7" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "GET / HTTP/1.1" 200 572 "-" "okhttp/2.4.0" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "GET /large.jpg HTTP/1.1" 200 714 "-" "okhttp/2.4.0" | |
127.0.0.1 - usera [22/Aug/2011:10:02:00 +0900] "GET /large.jpg HTTP/1.1" 200 926 "-" "Firefox/5.0" | |
127.0.0.1 - userb [22/Aug/2011:10:02:00 +0900] "GET / HTTP/1.1" 200 862 "-" "Firefox/5.0" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "GET / HTTP/1.1" 200 306 "-" "Firefox/5.0" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "POST / HTTP/1.1" 200 579 "-" "okhttp/2.4.0" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "POST / HTTP/1.1" 200 988 "-" "Python-urllib/2.7" | |
127.0.0.1 - - [22/Aug/2011:10:02:00 +0900] "GET /large.jpg HTTP/1.1" 200 115 "-" "Firefox/5.0" | |
127.0.0.1 - userb [22/Aug/2011:10:02:00 +0900] "GET / HTTP/1.1" 200 359 "-" "Firefox/5.0" |