Skip to content

Commit

Permalink
docs: don't close the connection
Browse files Browse the repository at this point in the history
  • Loading branch information
benfoley committed Nov 18, 2021
1 parent c263a79 commit dde9697
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/wiki/handy-gcp-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,15 @@ ls
tar -cvf model.tar HASH_DIR_NAME
```

Exit the container and copy from the container to the host.
Keep that Docker container running, and in another SSH terminal, copy from the container to the host.
```
docker cp $(docker ps -q):/state/models/model.tar .
```

Exit the host and copy from the host to the local machine.
Copy from the host to the local machine (do this in a local terminal window).
```
gcloud compute scp instance-3:~/model.tar ~/Downloads/model.tar
```


Otherwise, could share state dir from host into docker and save a few steps

Otherwise, could share state dir from host into docker and save a few steps...

0 comments on commit dde9697

Please sign in to comment.