0
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 Quickstart Terminalでpemission denied

Last updated at Posted at 2020-05-16

背景

PCのOSがWindows10 Homeだった為、リンクからDockerToolboxをインストールしDocker Quickstart Terminalでmkdirしたところ下記のようなエラーがでた。

DockerQuickstartTerminal
$ mkdir imagebuild
mkdir cannot create directory 'imagebuild' : Permission denied

#解決策

DockerQuickstartTerminal
$ cd [任意の作業ディレクトリ]
$ mkdir imagebuild
$ cd imagebuild

#原因
DockerQuickstartTerminalを起動した際の作業ディレクトリが権限を持っていないことが原因。
権限について詳しくはこちら

C:\Program Files\Docker Toolbox上ではなく、新しくdocker作業用ディレクトリを作成しそこでmkdirをすれば解決。基本的にはDocker Toolboxディレクトリ上では作業しない。

#参考

  1. chmod? chown? よくわからんって人のための、ファイル権限系まとめ
  2. Docker Toolboxのパーミッション変更
0
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
0
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?