Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fasl/52bd1e5a7fe7d9c20e47de2d144b8c3d to your computer and use it in GitHub Desktop.
Save fasl/52bd1e5a7fe7d9c20e47de2d144b8c3d to your computer and use it in GitHub Desktop.

Alibaba Cloud へログイン

https://home.console.aliyun.com/

Alibaba Cloud クーポン

https://jp.aliyun.com/campaign/coupon-freetrial

Docker CE のインストール for CentOS7

# yum install -y yum-utils
# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# yum makecache fast
# yum -y install docker-ce
# systemctl start docker

インスタンスに index.html を作成し docker run

# mkdir /var/handson
# echo "Docker Hands-on!! " > /var/handson/index.html
# docker run -d -v /var/handson:/usr/local/apache2/htdocs -p 80:80 httpd
# docker ps

インスタンスで git clone して docker run

# yum install -y git
# git clone https://github.com/gsi-cyberjapan/gsimaps.git /var/handson2
# docker run -d -v /var/handson2:/usr/local/apache2/htdocs -p 80:80 httpd
# docker ps

アンケート (ご協力お願い致します m(_ _)m)

https://goo.gl/forms/3EuzINqvo8hOE8bj2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment