Docker: Having issues installing apt-utils

This is not actually an error and it is safe to ignore it. I have built a large number of container images without ever having apt-utils on any of them and regardless of this warning message, all package installs go through and work normally. Anyway, if you want to have apt-utils – install it. It … Read more

Where are Docker images stored on the host machine?

The contents of the /var/lib/docker directory vary depending on the driver Docker is using for storage. By default this will be aufs but can fall back to overlay, overlay2, btrfs, devicemapper or zfs depending on your kernel support. In most places this will be aufs but the RedHats went with devicemapper. You can manually set the storage driver with the -s or –storage-driver= option to the Docker daemon. /var/lib/docker/{driver-name} will contain the driver specific storage for contents … Read more

What is the difference between the ‘COPY’ and ‘ADD’ commands in a Dockerfile?

You should check the ADD and COPY documentation for a more detailed description of their behaviors, but in a nutshell, the major difference is that ADD can do more than COPY: ADD allows <src> to be a URL Referring to comments below, the ADD documentation states that: If is a local tar archive in a recognized compression format (identity, gzip, bzip2 or xz) then it is unpacked as … Read more

docker : invalid reference format

I’m following this tutorial: https://medium.com/towards-data-science/number-plate-detection-with-supervisely-and-tensorflow-part-1-e84c74d4382c and they use docker. When I tried to run docker (inside the run.sh script): I got the error: I spent 2 hours and I can’t really understand what’s wrong. Any idea really appreciated.

What is the difference between CMD and ENTRYPOINT in a Dockerfile?

Docker has a default entrypoint which is /bin/sh -c but does not have a default command. When you run docker like this: docker run -i -t ubuntu bash the entrypoint is the default /bin/sh -c, the image is ubuntu and the command is bash. The command is run via the entrypoint. i.e., the actual thing that gets executed is /bin/sh -c bash. This allowed … Read more

denied: requested access to the resource is denied : docker

You may need to switch your docker repo to private before docker push. Thanks to the answer provided by Dean Wu and this comment by ses, before pushing, remember to log out, then log in from the command line to your docker hub account According to the docs: So, this means you have to tag your image before pushing: and then you should be able to push it.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)