Scott Zelenka
03/27/2020, 11:16 PMselenium/standalone-chrome
. But when I try to build through the CLI, it's giving me trouble (essentially spun the CPU fan for an hour, and eventually gave up because
Traceback (most recent call last):=============================>] 143.3MB/143.3MB
File "example-selenium.py", line 473, in <module>
parameters=dict(
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/core/flow.py", line 1419, in register
no_url=no_url,
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/client/client.py", line 623, in register
serialized_flow = flow.serialize(build=build) # type: Any
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/core/flow.py", line 1228, in serialize
storage = self.storage.build() # type: Optional[Storage]
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 282, in build
self._build_image(push=push)
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 312, in _build_image
self.pull_image()
File "/opt/anaconda3/envs/fastapi-async-sqlalchemy/lib/python3.7/site-packages/prefect/environments/storage/docker.py", line 520, in pull_image
raise InterruptedError(line.get("error"))
InterruptedError: write /var/lib/docker/tmp/GetImageBlob079036145: no space left on device
Chris White
03/27/2020, 11:18 PMrm -rf ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux
or
rm -rf ~/Library/Containers/com.docker.docker/Data/*
Joe Schmid
03/27/2020, 11:50 PMdocker system prune --all
(That will remove all Docker data — images, containers, etc.) We use that when we get “no space left on device.”Scott Zelenka
03/27/2020, 11:53 PMChris White
03/27/2020, 11:53 PMrm -rf
approachZachary Hughes
03/28/2020, 4:19 PMdocker system prune -a
did not do the trick for me. If you go the rm -rf
route, friendly heads-up that you'll likely need a soft restart of your computer before Docker starts playing nicely for you.Scott Zelenka
03/29/2020, 5:10 PMrm -rf
and restart of docker
allowed it to proceed