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

備忘録:【Docker】起動&終了方法

Posted at

備忘録φ(..)メモメモ

#【起動方法】

##アプリ起動

スクリーンショット 2021-01-11 21.20.54.png

##Dockerの置いてる場所で下記を入力

※私の場合”dev”というディレクトリ内に入って入力

terminal
lancai@oja dev % docker-compose up -d

↓下記のように返ってきたらOK

terminal
Creating network "proxy-net" with driver "bridge"
Creating rootp-db ... done

↓RUNNINGとなっていたらOK

スクリーンショット 2021-01-11 21.24.21.png

#終了方法

##Dockerの置いてる場所で下記を入力

※私の場合”dev”というディレクトリ内に入って入力

terminal
$ lancai@oja dev % docker-compose down

↓下記のように返ってきたらOK

terminal
Stopping ※DBの名前 ... done
Removing ※DBの名前 ... done
Removing network proxy-net
1
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
1
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?