Docker

vagrant + docker + mysql で mysql を起動したら Check that your OS and file system support files of this size のエラーが出た

発生したエラーは以下。 2016-05-05T10:22:59.842109-00:00 0 [ERROR] InnoDB: Write to file /var/lib/mysql/ibdata1failed at offset 8388608, 1048576 bytes should have been written, only 0 were written. Operating system error number 28. Check th…

docker-compose で volume を作る

それ用の書き方があるかと思ったけど、 なかったのでこうしました。 dvc1: image: busybox volumes: - /var/log/nginx/ command: [/bin/sh]一応動作したけど、これでいーのか・・・?

docker-compose で service 'version' doesn't have any configuration options. のエラー

docker-composeで以下のエラーが出た。 ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.docker-com…

Docker + MongoDB で directory /data/db not found のエラー

Docker で MongoDB を動かそうと思った。公式のDockerfileを利用してもいいけど、 細かい設定が必要になると自前で用意した方がよかったりする。とりあえず、インストール方法は公式ドキュメントを確認した。 https://docs.mongodb.org/manual/tutorial/inst…

【Docker】コンテナの全削除

https://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/ ↑ ちまちま消すの面倒だから・・・。 無理矢理感あるけどw