LoginSignup
1
0

一度停止させたコンテナに再びアタッチする方法(実装で学ぶフルスタックWeb開発での学び#2)

Posted at

前回Dockerを使用して実装で学ぶフルスタックWeb開発の開発環境MacVerを作成しました。

少し勉強から離れていて、久々にDockerに触れるとやり方を忘れていたので、次忘れた時用のメモ。

コンテナを開始する

  1. Actionの下にある再生ボタンみたいなのを押してコンテナを起動する。(写真では四角の停止ボタンみたいになっている。)
    スクリーンショット 2024-01-18 17.18.33.png
  2. 「Command + shift + P」 を押して、 「開発コンテナー:実行中のコンテナーにアタッチ」を選択する。
    スクリーンショット 2024-01-18 17.18.58.png
  3. backendを選択して、同じことをfrontendでも行う。
    スクリーンショット 2024-01-18 17.19.03.png

終わり。

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