Git Product home page Git Product logo

practical-docker's Introduction

This is the source repository for https://www.practical-docker.com

In these talks I will give practical tips and tricks on how to effectively use Docker as a valuable tool to solve various problems or just use it for fun projects with all kinds of hardware and software! See my YouTube Channel with all episodes for more information.


EP01: socks5 proxy vs. port forwarding

Opening and forwarding specific ports per docker container is onl practical for a few containers but the more ports you open the more it becomes a hasstle and it is totally not clear which ports map to which container.

A simple but very effective solution is to use a socks5 proxy. In this episode I will show how to install and use a socks5 proxy and what benefits it brings to use this solution which is that each container can be reached by its internal hostname which is the name of the container.

I will also show how to use username/password authentication and show how to use this combination in a secure practical way.

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy |

EP02: socks5 proxy with git (gitlab)

yotube

The proxy example in the previous episode can be extended to not only browsers but also for other protocols as well like like git. In this episode I will show how to use git over a ssh/socks proxy

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy


# EP03: socks5 proxy with Kubernetes (kubernetes-sigs/kind)

yotube

What makes this solution even more attractive is the fact that it can be used inside kubernetes as well. In this episode I will show hwo to install the socs5 proxyy via helm and hwo to access the dashboard.

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy


EP04: generating dynamic hostnames

yotube

In the previous talk EP01: socks5 proxy vs. port forwarding I showed how to reach docker containers by their internal hostname but what if you want to expose a docker containter to the outside? In this episode I will show how to generate a externally accessable dynamic hostname for specific containers.

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy


EP05: generate ssl cerificates for docker containers

yotube

Now that we can generate dynamic hostnames for docker containers, that opens the road for automatic generation of ssl certificates for those containers.

https://nickjanetakis.com/blog/ngrok-lvhme-nipio-a-trilogy-for-local-development-and-testing

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy


EP06: how to find the internal dns name of a docker container

yotube

In this episode I will show how to get the interal dns name of a docker container which is more than just the name of a container. Nothing fancy but still a handy trick to remember!

https://github.com/marcelmaatkamp/practical-docker-episode-01-socks5-proxy

About

In these talks I will give practical tips and tricks on how to effectively use Docker as a valuable tool to solve various problems or just use it for fun projects with all kinds of hardware and software! See my YouTube Channel with all episodes for more information.

logo

                        __   __            __    
 .-----.----.---.-.----|  |_|__.----.---.-|  |   
 |  _  |   _|  _  |  __|   _|  |  __|  _  |  |   
 |   __|__|_____._|____|____|__|____|___._|__|   
 |__|  .--|  .-----.----|  |--.-----.----.       
       |  _  |  _  |  __|    <|  -__|   _|       
       |_____|_____|____|__|__|_____|__|         
                                          

practical-docker's People

Contributors

marcelmaatkamp avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.