Giter Club home page Giter Club logo

Comments (8)

bofm avatar bofm commented on July 29, 2024

Fix:

Modify Docker options in the /etc/default/docker file on host:
DOCKER_OPTS="--storage-driver=devicemapper --storage-opt dm.basesize=20G"

from oracle-12c.

sheikhsameer1609 avatar sheikhsameer1609 commented on July 29, 2024

After building, the size of the oracle-12c docker image is 18GB. Is it the average size that you get?

from oracle-12c.

wscherphof avatar wscherphof commented on July 29, 2024

It can be compressed; see
http://jasonwilder.com/blog/2014/08/19/squashing-docker-images/ and/or
https://intercityup.com/blog/downsizing-docker-containers.html

Op di 14 apr. 2015 om 16:11 schreef sheikhsameer1609 <
[email protected]>:

After building, the size of the oracle-12c docker image is 18GB. Is it the
average size that you get?


Reply to this email directly or view it on GitHub
#5 (comment).

from oracle-12c.

sheikhsameer1609 avatar sheikhsameer1609 commented on July 29, 2024

Thank you wscherphof.. It helped me to squash the image by 50%.

from oracle-12c.

wscherphof avatar wscherphof commented on July 29, 2024

Yay :-)

Op do 16 apr. 2015 17:42 schreef Sameer Sheikh [email protected]:

Thank you wscherphof.. It helped me to squash the image by 50%.


Reply to this email directly or view it on GitHub
#5 (comment).

from oracle-12c.

arcticShadow avatar arcticShadow commented on July 29, 2024

Based on the comments here, I found what I needed to do (To increase the size). the dm.basesize option is correct, but you need to remove any pre-created stuff. easiest way is to rm -rf /var/lib/docker as per this document https://github.com/docker/docker/blob/master/daemon/graphdriver/devmapper/README.md

from oracle-12c.

 avatar commented on July 29, 2024

You may find out that @bofm 's fix won't work on host machines that run systemd, because some docker.service files don't load (or include) /etc/default/docker. I fixed it by changing OPTIONS line in included file /etc/sysconfig/docker to include given options.

from oracle-12c.

Rahulmashlesh avatar Rahulmashlesh commented on July 29, 2024

[FATAL] [INS-32021] Insufficient disk space on this volume for the selected Oracle home.
CAUSE: The selected Oracle home was on a volume without enough disk space.
ACTION: Choose a location for Oracle home that has enough space (minimum of 6,553MB) or free up space on the existing volume.

root@4e..... /]# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 1.8G 179.5M 1.6G 10% /
tmpfs 1001.1M 0 1001.1M 0% /dev/shm
/dev/sda1 17.9G 12.3G 4.6G 73% /mnt/sda1
cgroup 1001.1M 0 1001.1M 0% /sys/fs/cgroup
c/Users 234.8G 116.3G 118.4G 50% /c/Users
/dev/sda1 17.9G 12.3G 4.6G 73% /mnt/sda1/var/lib/docker/aufs

Was not able to find the /etc/sysconfig/docker or the /etc/default/docker.
I am using docker on win7 as the host machine.

from oracle-12c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.