Comments (8)
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.
After building, the size of the oracle-12c docker image is 18GB. Is it the average size that you get?
from oracle-12c.
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.
Thank you wscherphof.. It helped me to squash the image by 50%.
from oracle-12c.
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.
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.
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.
[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)
- Step1 error with running command from `/tmp/install/install` HOT 1
- One of the required property is missing in the response file HOT 1
- build fail at step1 HOT 1
- putting oracle data in a volume? HOT 4
- Unable to login as sys/change_on_install from sqlplus HOT 1
- Stuck in step 2 - running catalog.sql HOT 6
- TNS:lost contact during /tmp/create in step2 HOT 11
- Error: image wscherphof/oracle-12c not found HOT 1
- publishing Dockerfile for: wscherphof/oracle-linux-7 HOT 5
- Unable to clean prior step images
- Flashback and support.
- can't mount partition /dev/shm
- linuxamd64_12102_database_1of2.zip: no such file or directory
- "/tmp/db_install.rsp (Permission denied)" on step 1.6
- SP2-0310: unable to open file "/u01/...createdb.sql" on step 2.3
- not found in the registry HOT 4
- configToolAllCommands does not exit...
- Why need 3 steps? HOT 1
- Get stuck at step 1
- How to start the container with Oracle started?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oracle-12c.