2
1

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.

Homebrewでdockerをインストール

Posted at

#配布されたMacにDockerを入れる
Dockerの導入は直接公式サイトに行って入れる方法と、Macパッケージ管理ソフトを使っていれる方法がある認識。
今回、Homebrew-caskを使っていれたので、そのときの覚書きメモメモ。

前提:HomebrewとHomebrew-Caskが導入済み

##お約束

brew update

##Dockerを入れる

brew cask install docker

##動作確認

docker run -d --name web1 -i -t -p 88:80 nginx:latest

localhost:88にアクセスしてみてnginxの画面でてきたら成功

・・・簡単すぎて不安になる老兵。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?