Articles
NodeJS app dockerization
NodeJS apps can be containerized using the <code>docker build</code> command. This article is based on <a href="https://nodejs.org/de/docs/guides/nodejs-docker-webapp/" rel="noopener noreferrer nofollow">this guide</a>.
Self hosted Docker registry
When using the <code>docker pull</code> command, container images are by default downloaded from docker hub, the official public registry for container images. However, for some projects, images are better stored on a private platform. This can be achieved by hosting one's own docker registry.
Docker HTTP (insecure) registry
By default Docker refuses to push/pull from registries that are not served using HTTPS.
Docker behind a proxy
Docker does not use environment variables for proxy configuration. This article presents how to configure Docker to use a proxy.
Minikube using insecure registry
By default, Minikube will not allow the usage of insecure docker registries. To change this setting, Minikube can be started as so:
Serving a Keras model using Tensorflow serving and Docker
A Keras model can be created in various ways, for example using the <a href="https://keras.io/getting-started/sequential-model-guide/" rel="noopener noreferrer nofollow">sequential model</a>:
Gitlab CI commands for TF serving
This is an example .gitlab-ci.yml file which can be used to containerize and deploy a tensorflow model
Docker restart container when docker restarts
Simply add the following flag when using docker run
Docker images and containers management
Here are a few commands to manage docker images and containers
Creating a private docker registry for Kubernetes
A docker registry can be run easily using as a docker container using docker itself.