Update docker hub full description.
Env Variable | Description |
---|---|
DOCKER_USERNAME |
Docker-hub user name used to login |
DOCKER_PASSWORD |
Docker-hub user password used to login |
DOCKER_IMAGE |
Name of the docker image to update (example: dsuite/hub-updater ) |
README_FILE |
Path to the readme.md file to update to docker hub (default: /data/README.md ) |
DOCKER_USERNAME="myUserName"
DOCKER_PASSWORD="myUserPassword"
DOCKER_IMAGE="dsuite/hub-updater"
README_FILE="/data/README.md"
docker run -t --rm \
-e DOCKER_USERNAME=${DOCKER_USERNAME} \
-e DOCKER_PASSWORD=${DOCKER_PASSWORD} \
-e DOCKER_IMAGE=${DOCKER_IMAGE} \
-e README_FILE=${README_FILE} \
-v /path/to/folder:/data \
dsuite/hub-updater