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 5 years have passed since last update.

Amazon LinuxでDocker版のHDP Sandboxを立てるTIPS

Last updated at Posted at 2016-12-24

HDPのサンドボックスのコンテナは13GBあるので、Dockerコンテナのストレージサイズのデフォルト値である10GBだと足りない。なのでDockerのコンフィグファイル/etc/sysconfig/dockerにあるdocker daemonの起動オプションに下記を追記してやる。

--graph='/mnt/docker-data' --storage-driver=overlay --storage-opt=dm.basesize=30G"

デフォルトでいろいろ書いてあるので、足すと以下のように。

OPTIONS="--default-ulimit nofile=1024:4096 --graph='/mnt/docker-data' --storage-driver=overlay --storage-opt=dm.basesize=30G"

ソースはこちら。systemdを採用しているディストリビューションでの設定方法もこちら。
https://community.hortonworks.com/content/kbentry/65714/how-to-modify-the-default-docker-configuration-on.html

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?