111
Go to list of users who liked
111
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
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じゃーん
んー、プロダクションでもEC2上でしかもAmazonLinuxでDockerって、もう全然未来の話じゃないんだな
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
