LoginSignup
8
7

More than 5 years have passed since last update.

docker-composeでupできない場合の対処

Last updated at Posted at 2017-12-17

docker-composeを起動しようとして以下のコマンドを実行した。

docker-compose up -d

そうしたところ、以下のエラーが発生した。

Unsupported config option for services service: '[サービス名]'

docker-composeを更新する必要があったため以下を実行する。ただし、下記のコマンドのバージョンを新しいバージョンに書き換えて実行する。
(※私は「1.18.0-rc2」のバージョンでやりました)

curl -L https://github.com/docker/compose/releases/download/[バージョン名]/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
8
7
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
8
7