This document discusses Docker and provides instructions for installing Docker and building a Docker image for a Go application on Google App Engine. It summarizes how Docker allows packaging applications into standardized units for software development and deployment and can be used to run applications in isolated containers. Specific steps are given to build a Docker image using a Dockerfile, run a Docker container, and deploy a sample Go application locally and on GAE using Docker.
12. 䛹䛳䛛䞊䜅䛑䛔䜛
FROM ubuntu
MAINTAINER scarviz <scarviz@gmail.com>
# add work user
RUN adduser gopher
RUN echo "gopher:gopher" |chpasswd
RUN gpasswd -a gopher sudo
# install package
RUN apt-get update
RUN apt-get install -y vim wget unzip git mercurial python
# change user
USER gopher
# work dir
WORKDIR /home/gopher