Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker container can not be transferred #20

Open
sd707589 opened this issue Jun 9, 2022 · 2 comments
Open

docker container can not be transferred #20

sd707589 opened this issue Jun 9, 2022 · 2 comments

Comments

@sd707589
Copy link

sd707589 commented Jun 9, 2022

Hi @entmike,
Since downloading models is tedious, I want to download them once and wrap them into a docker container for local transfer.
But when I transferred the container to a new machine, the python environment just failed.
Please help~
Thx

@entmike
Copy link
Owner

entmike commented Jun 10, 2022

I'm going to need more information when you said the python environment failed. Can you explain?

@sd707589
Copy link
Author

sd707589 commented Jun 13, 2022

I'm going to need more information when you said the python environment failed. Can you explain?

When started normally, it should shows as below:

|    \|_|___ ___ ___   |    \|_|  _|  _|_ _ ___|_|___ ___ 
|  |  | |_ -|  _| . |  |  |  | |  _|  _| | |_ -| | . |   |
|____/|_|___|___|___|  |____/|_|_| |_| |___|___|_|___|_|_|
                                                          
Support: https://github.com/entmike/disco-diffusion-1
Discord: https://discord.gg/yNDqCnzCbs

disco@32aaa93188c5:/workspace/disco-diffusion-1$ 

When I used below commands to transfer the container to another machine.

docker export -o XXX.tar [container ID]
docker import xxx.tar [REPOSITORY[:TAG]]
docker run .....

It just showed:
root@9e6eea4c057c:/# and no python environment was detected, nor the conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants