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 1 year has passed since last update.

Dockerでdocker: Error response from daemon: OCI runtime create failed:のエラーが出る原因

Last updated at Posted at 2022-01-03

結論

オプションと引数の順番が間違っていることが多い。(引数の後にオプションは書けない)

docker run -p 8000:8000 mygomi:latest -d
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-d": executable file not found in $PATH: unknown.

docker run -p 8000:8000 -d mygomi:latest
937e4e3a2f488822a6b73281a3592a8835784eba3b8f1dfc316300b997fc6838
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?