cpu-shares
setting. The setting is a bit strange -- 1024 means 100% of the CPU, so if you want the container to take 50% of all CPU cores, you should specify 512:Note that Docker can still see all of the CPUs inside the container -- it just isn't using all of them.
docker save
saves an image to a tar archive stream to STDOUT with all parent layers, tags & versions (as of 0.7).ADD
and use COPY
instead.--chown=<user>:<group>
to give ownership to another user/group. (Same for ADD
.)docker network rm
NAME Remove one or more networks by name or identifier. No containers can be connected to the network when deleting it.