Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Creating Docker Images

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Docker caches building operations. When cache for an operation is available, Docker use the cache layer directly and avoid building the layer again.

  2. The command ARG creates environment variables for build-time …

Fix Authentication Error of GitHub Repositories on DockerHub

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Solution

  1. Got to Account Seetings

  2. Navigate to the Linked Accounts seciton

  3. Unlink GitHub and relink it.

References

https://github.com/docker/hub-feedback/issues/416