disco-diffusion-1 icon indicating copy to clipboard operation
disco-diffusion-1 copied to clipboard

docker container can not be transferred

Open sd707589 opened this issue 2 years ago • 2 comments

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

sd707589 avatar Jun 09 '22 10:06 sd707589

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

entmike avatar Jun 10 '22 18:06 entmike

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.

sd707589 avatar Jun 13 '22 04:06 sd707589