Skip to content

Instantly share code, notes, and snippets.

View sarumaj's full-sized avatar
🏠
Working from home

Dawid Ciepiela sarumaj

🏠
Working from home
View GitHub Profile
@miguelmota
miguelmota / docker_run.go
Created June 29, 2018 07:41
Golang docker pull image and run container
package main
import (
"io"
"os"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/client"
"golang.org/x/net/context"