Movatterモバイル変換


[0]ホーム

URL:


LoginSignup
111

Go to list of users who liked

111

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Amazon LinuxにDockerが入った!!

Last updated atPosted at 2014-03-27

Amazon Web Services Blogで、今回のAmazon Linux AMI 2014.03リリースにDockerが導入されたことがアナウンスされています。

Docker 0.9 - You can now run Docker containers on the Amazon Linux AMI.

さっそく試してみた:

確認する、

$sudoyum search docker読み込んだプラグイン:priorities, update-motd, upgrade-helper================================================================== N/S matched: docker==================================================================docker.x86_64 : Automates deployment of containerized applications  Name and summary matches only, use"search all"foreverything.$sudoyum info docker読み込んだプラグイン:priorities, update-motd, upgrade-helper================================================================== N/S matched: docker==================================================================docker.x86_64 : Automates deployment of containerized applications  Name and summary matches only, use"search all"foreverything.[ec2-user@ip-172-31-20-119 ~]$sudoyum info docker読み込んだプラグイン:priorities, update-motd, upgrade-helper利用可能なパッケージ名前                : dockerアーキテクチャー    : x86_64バージョン          : 0.9.0リリース            : 2.10.amzn1容量                : 5.0 Mリポジトリー        : amzn-main/latest要約                : Automates deployment of containerized applicationsURL                 : http://www.docker.ioライセンス          : ASL 2.0 and BSD説明                : Docker is an open-source engine that automates the deployment of any                    : application as a lightweight, portable, self-sufficient container that will                    : run virtually anywhere.                    :                     : Docker containers can encapsulate any payload, and will run consistently on                    : and between virtually any server. The same container that a developer builds                    : and tests on a laptop will run at scale,inproduction*, on VMs, bare-metal                    : servers, OpenStack clusters, public instances, or combinations of the above.

おー、いるいる、入れる、

$sudoyuminstalldocker

起動する、

$sudoservice docker start

これだけじゃつまらないので、BlogエンジンのGhostイメージを起動してみる

$sudodocker run-d-p 80:2368 dockerfile/ghost

じゃーん

ghost.png

んー、プロダクションでもEC2上でしかもAmazonLinuxでDockerって、もう全然未来の話じゃないんだな

111

Go to list of users who liked

111
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
111

Go to list of users who liked

111

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?


[8]ページ先頭

©2009-2025 Movatter.jp