idoall/centos6.8-golang

By idoall

Updated over 4 years ago

Docker-Centos/6.8-golang

Image
1

1.1K

目录

[TOC]

Docker-Centos/6.8-golang/1.4

This repository contains the sources for the following docker base images:

A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!

Developing

# Pull image
git clone https://github.com/idoall/docker.git
cd centos6.8-golang/1.4

# hack hack hack

# Build
docker build -t idoall/centos6.8-golang:1.4 .

# view version
docker run -it --name=golang --rm idoall/centos6.8-golang:1.4 go version

# Run
docker run -d --name=golang idoall/centos6.8-golang:1.4

# access the contain
docker exec -it golang /bin/bash

Docker Pull Command

docker pull idoall/centos6.8-golang