Skip to content

Instantly share code, notes, and snippets.

@vermotr
vermotr / Docker-Registry.md
Created February 7, 2017 15:56
Docker Registry with Basic Auth Nginx Server and Let's Encrypt certificate

Docker Registry

A simple Docker Registry with Basic Auth Nginx Server and Let's Encrypt certificate

How to use

You have to create a .htpasswd file and you can use the following command:

htpasswd -c registry.htpasswd username

License

@julz
julz / main.go
Created November 20, 2015 12:39
containersched minicontainer
package main
import (
"fmt"
"os"
"os/exec"
"syscall"
)
func main() {
@mitchwongho
mitchwongho / Docker
Last active November 29, 2023 06:36
Docker 'run' command to start an interactive BaSH session
# Assuming an Ubuntu Docker image
$ docker run -it <image> /bin/bash