Docker Notes

Docker on Raspbian
Debian stock kernel doesn’t support limiting memory · Issue #396 · moby/moby
Docker testing harness fails in Debian as its kernel does not support cgroup memory limitation. Although the following patch in the Debian kernel config will enable named support, this is not yet p...
Introduction to Docker - .NET Core
This article provides an introduction and overview to Docker in the context of a .NET Core application.
Containerize an app with Docker tutorial - .NET Core
In this tutorial, you’ll learn how to containerize a .NET Core application with Docker.
Dockerfile and Windows Containers
Create Dockerfiles for Windows containers.
Access Windows 2016 Server Container (Docker container) via GUI?
I need to use Docker / Windows containers on Windows 2016 Server and prepare it Windows applications to run on it.Configuring Windows via Powershell just is not as convenient though as it is on Ub...
How to Start Docker Containers Automatically After a Reboot? | DigitalOcean
Recently one of my servers crashed and after the reboot, none of my Docker containers started. So I had to manually check each container and start the ones that were required. That is when I realized that I should implement a restart policy to control
Using Remote Desktop Services in Containers
Remote Desktop Services (RDS) is not officially supported in Windows Containers. Windows Server Core-based containers contain the bits needed but the feature is deactivated for a few technical and political reasons. In these containers, you can reactivate those bits with an easy registry value.
Can you run GUI applications in a Docker container?
How can you run GUI applications in a Docker container? Are there any images that set up vncserver or something so that you can - for example - add an extra speedbump sandbox around say Firefox?
Use NGINX As A Reverse Proxy To Your Containerized Docker Applications
Learn how to create several web application containers and access them behind an NGINX reverse proxy that is also a Docker container.

Get image history:

docker history --no-trunc $argv  | tac | tr -s ' ' | cut -d " " -f 5- | sed 's,^/bin/sh -c #(nop) ,,g' | sed 's,^/bin/sh -c,RUN,g' | sed 's, && ,\n  & ,g' | sed 's,\s*[0-9][.][0-9]\s[kMG]B\s$,,g' | head -n -1
  • standard alpine linux has no armv6-compatible apk repositories
  • alpine-sdk package allows you to create apk files
List of FREE private docker registry and repository 2020
An regularly updated list of FREE private docker registries and repositories
canister.io
Creating an Alpine package - Alpine Linux
Alpine Linux package management - Alpine Linux
How do I add a user when I’m using Alpine as a base image?
I’m using alpine (or an image that is based on Alpine) as the base image in my Dockerfile. Which instructions do I need to add to create a user? Eventually I’ll use this user to run the applicati...

Tutorials

Docker Labs
Docker Labs
Docker on OpenBSD 6.1 (-current)
Running Docker containers on OpenBSD with an Alpine Linux shim is totally doable now. (In fact it’s very similar to how macOS does it!) Follow these steps for fun/profit.

Harbor

VMware, Harbor container registry
Containers are all the rage, they will solve all your problems. Hint of sarcasm there….Write once, run everywhere!? Ever heard statements like this? (*cough* java *cough). In my IT career,…