Skip to content

Commit 7714dc4

Browse files
authored
readme: correct the Save/Load approach (#26)
In `docker save | ssh | docker load`, `docker load` will be run in local machine. The correct way to upload image is that `docker save | ssh <remote server> docker load`, which `docker load` will be run in remote server
1 parent c4bf404 commit 7714dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You've built a Docker image locally. Now you need it on your server. Your option
2424

2525
- **Docker Hub / GitHub Container Registry** - Your code is now public, or you're paying for private repos
2626
- **Self-hosted registry** - Another service to maintain, secure, and pay for storage
27-
- **Save/Load** - `docker save | ssh | docker load` transfers the entire image, even if 90% already exists on the server
27+
- **Save/Load** - `docker save | ssh <remote server> docker load` transfers the entire image, even if 90% already exists on the server
2828
- **Rebuild remotely** - Wastes time and server resources. Plus now you're debugging why the build fails in production
2929

3030
You just want to move an image from A to B. Why is this so hard?

0 commit comments

Comments
 (0)