Docker increase disk space

前端 未结 4 1582
滥情空心
滥情空心 2020-12-06 05:18

I have a docker running and it gives me disk space warning. How can i increase the docker space and start again? (The same container)

Lets say I want to give like 15

4条回答
  •  一整个雨季
    2020-12-06 06:09

    To increase space available for Docker you will have to increase your docker-pool size. If you do a

    lvs
    

    You will see the docker-pool logical volume and its size. If your docker pool is sitting on a volume group that has free space you can simply increase the docker-pool LV by

    lvextend -l 100%FREE 
    # An example using this may looks like this:
    # lvextend -l 100%FREE /dev/VolGroup00/docker-pool
    

    You can check out more docker diskspace tips here

    Thanks

提交回复
热议问题