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.

rails×Docker導入でのエラー①[docker-compose: command not found]

Last updated at Posted at 2020-06-11

必要なファイルを作成して、いざrails new

[***MacBook-Pro:docker_sample]$ docker-compose run web rails new . --force --no-deps --database=postgresql --skip-bundle
-bash: docker-compose: command not found

なぜに???

調べたところ、Dockerをインストロールをしていないのが悪いとのこと。

参考記事
http://it-knowledge.tank.jp/docker-insall/

あれ?ちゃんとしたはずなのに、、、

立ち上げてみたところ、
「ログイン」しないと意味がなかったです!!

・Dockerアプリをインストロール
・アプリを立ち上げてログイン

この上で、再度コマンドを入力すれば問題ありませんでした!

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?