l1na-forever / stable-diffusion-rocm-docker

Stable Diffusion Docker image preconfigured for usage with AMD Radeon cards
126 stars 22 forks source link

Trouble starting the docker container after closing it #4

Closed flysqu closed 1 year ago

flysqu commented 1 year ago

Hey im wondering what command i need to run to start stable diffusion again after i have set it up once'

If i try to run the alias drun='docker run -e HSA_OVERRIDE_GFX_VERSION=10.3.0 -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $(pwd):/pwd'

after i run this it then prints this error The container name "/stable-diffusion" is already in use by container "309d33b2b088d709dab73445ab92a33591a7a69f76cd88bdba9f8a002d36b40f". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'.

flysqu commented 1 year ago

So i got it running using this commang docker container start -i stable-diffusion I would recommend adding this to the .readme as it is useful for people who does'nt know a lot about docker