3 ms·
Docker push/pull only do the layers that arent already available. What we did was create a base image that has docker + our main base image (ubuntu + the packag
by Goopplesoft 12y ago
Docker push/pull only do the layers that arent already available. What we did was create a base image that has docker + our main base image (ubuntu + the packages we want) and then we ship builds on top of the base image which won't be pulled down again. Code builds are like 30mb shipped (pretty much just the code). Note you need your own registry for this.
Also familiarity with how union FSes work and using 'docker history' to trim container size makes it a lot easier.