stable-diffusion-webui-controlnet-docker
stable-diffusion-webui-controlnet-docker copied to clipboard
how to build on local?
hi, i am trying:
git clone https://github.com/kalaspuff/stable-diffusion-webui-docker
cd stable-diffusion-webui-docker
docker build . --rm -t kalaspuff/sdw
but failed here:
=> ERROR [ 4/23] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry && poetry config virtualenvs.create false 1000.9s
------
> [ 4/23] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry && poetry config virtualenvs.create false && poetry config virtualenvs.in-project false:
#0 1.465 Retrieving Poetry metadata
#0 68.51
#0 68.52 # Welcome to Poetry!
#0 68.52
#0 68.52 This will download and install the latest version of Poetry,
#0 68.52 a dependency and package manager for Python.
#0 68.52
#0 68.52 It will add the `poetry` command to Poetry's bin directory, located at:
#0 68.52
#0 68.52 /usr/local/poetry/bin
#0 68.52
#0 68.52 You can uninstall at any time by executing this script with the --uninstall option,
#0 68.52 and these changes will be reverted.
#0 68.52
#0 68.52 Installing Poetry (1.4.0)
#0 68.52 Installing Poetry (1.4.0): Creating environment
#0 205.8 Installing Poetry (1.4.0): Installing Poetry
#0 1000.7 Installing Poetry (1.4.0): An error occurred. Removing partial environment.
#0 1000.8 Poetry installation failed.
#0 1000.8 See /poetry-installer-error-x3gj8j15.log for error logs.
------
Dockerfile:50
--------------------
49 | # Poetry for Python packages
50 | >>> RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes \
51 | >>> && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry \
52 | >>> \
53 | >>> && poetry config virtualenvs.create false \
54 | >>> && poetry config virtualenvs.in-project false
55 |
--------------------
ERROR: failed to solve: process "/bin/sh -c curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry && poetry config virtualenvs.create false && poetry config virtualenvs.in-project false" did not complete successfully: exit code: 2
It should build without issues. Make sure your internet connection is stable and your machine has enough disk and RAM for the image.
is it possible push an image up to docker hub ?
Didn't have any problems myself.
Is the ERROR the contents of /poetry-installer-error-x3gj8j15.log?