Changes
Page history
added all new content
authored
Sep 18, 2024
by
Paul
Show whitespace changes
Inline
Side-by-side
system/deployment/3_Transferring_Images.md
0 → 100644
View page @
6381bfc3
⚠️ These commands need to be executed on your local office computer / laptop!
---
The following command can be used to transfer docker / container images to the target host:
\
⚠️ Replace the capitalized user and host names and the
`DOCKER_IMAGE_TAG`
with the actual values!
```
shell
export
DOCKER_IMAGE_TAG
=
"v1.0-beta1-159-gabc123d_1970-02-16T12-02-56UTC"
export
BUILD_USER
=
"builder"
export
BUILD_HOST
=
"builder.example.net"
export
RUN_USER
=
"reseed"
export
DOCKER_HOST
=
"reseed.example.net"
ssh
"
${
BUILD_USER
}
@
${
BUILD_HOST
}
"
"docker image save reseed-app:
${
DOCKER_IMAGE_TAG
}
reseed-web:
${
DOCKER_IMAGE_TAG
}
reseed-workers:
${
DOCKER_IMAGE_TAG
}
"
|
\
dd
status
=
progress
bs
=
1M |
\
ssh
"
${
RUN_USER
}
@
${
DOCKER_HOST
}
"
"docker load"
```