1
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 3 years have passed since last update.

Docker Desktop for Mac でApacheのコンテナを立ち上げる

Posted at

目的

  • Docker Desktop for Mac導入後に確認としてApacheのコンテナを作りブラウザから接続を確認する方法をまとめる
  • とにかくちゃんとDockerが導入できているかの確認なのでディレクトリマウントなどは行わない

実施方法

  1. Docker Desktop for Macの入ったPCで下記コマンドを実行する。

    $ docker run -d -p 8080:80 httpd
    
  2. 下記にアクセスして「It works!」と表示されるか確認する。

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