VS CodeでDevContainersを使用して開発環境を構築してコンテナ内で開発を始めようとファイルを作成しようとすると「Permission denied」と表示され、権限がない状態に。userはnodeに設定してwhoamiコマンドを打つとnodeと表示され、以下のように権限も付与した。
A set of simple and reusable 'features'. Quickly add a language/tool/CLI to a development container. 'Features' are self-contained units of installation code and development container configuration.
Is the block in general, or it affect only my container (e.g. due to too many rebuilds)? I've tested curl command from another machine, and the request seems to be fine. If Microsoft is blocking PGP ...
今回はVSCodeの拡張機能「RemoteSSH」と「Dev Containers」を利用し、開発用サーバ上で作業をする方法を紹介します。 自分の作業用のPCからVSCodeのRemoteSSHを使って開発環境に接続、DevContainersでDockerのコンテナを構築するところまでが今回の記事の内容になります。