Docker login
Error Notes
1
| >> Error saving credentials: error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``
|
1
| sudo nano ~/.docker/config.json
|
rename credsStore
to credStore
Use Access Tokens
https://hub.docker.com/ My Accont » Security » New Avvess Token
Push images to Docker Hub
Rename Container
1
| docker rename old_container_name_or_id new_container_name
|
Make image from container
1
| docker commit -a="<usrname>" -m="<info>" <docker ID or name> <new image name>:<ver.>
|
Rename image name
The naming of images needs to comply with <username>/<repository>:<TAG>
in Dockerhub
1
| docker tag <image ID> <username>/<repository>:<TAG>
|
Push to dockerhub
1
| docker push <username>/<repository>:<TAG>
|