Scripts#
Image loading script#
The scripts/save_images.sh script allows you to upload docker images to the paths specified in docker-compose.yml into the tar.gz format (TableĀ 9).
Uploading may be necessary to save images to storage media and transfer them to an object in the absence/poor Internet connection.
Running the script:
./save_images.sh -f <path_to/docker-compose.yml> -d <local_path_to/docker_images> -u <dockerhub_username> -p <dockerhub_password>
TableĀ 1. Available commands
Key | Description |
---|---|
-h | Command Help |
-f | Path to and name docker-compose.yml. Required |
-d | Path to and directory for saving the image. Required |
-o | Image name. |
-u | Login to connect to dockerhub.visionlabs.ru. Required |
-p | Password for connecting to dockerhub.visionlabs.ru. Required |
The final archive must be placed in the Access directory and launched according to instructions.