0
0

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.

dockerの覚書

Posted at

Dockerとは

dockerとは自分のパソコンのカーネルを使って、あたかも自分のパソコンにもう一つ別のパソコンがあるようにするものと認識しています。
もう一つ別のパソコンがあるようにしている技術のことをコンテナと呼ぶと認識しています。
これの何が良いかというと、共同開発していく上で、バージョンの違いや、各々のPCの環境に左右されないことです。

Dockerをインストールする

公式ページからインストールします
https://www.docker.com/
ダウンロードするとdocker-composeも一緒インストールされます。

docker-composeとは

dockerを使って複数のコンテナを作ることが可能です。この複数のコンテナをいちいち、設定を書いたりするのは面倒なので、一括で管理できるものがdocker-composeです
参考
https://knowledge.sakura.ad.jp/16862/

composeをインストールするときに使うコマンド

# curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose
0
0
0

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?