https://open-source-silicon.dev logo
a

Anas Alsakkal

03/29/2022, 12:32 PM
Hi all, I am trying to run OpenLane using the
docker run
command, so I can run the container in the background and create a volume to access the results from the host machine. However, this command
docker run -it -v /home/anas/OpenLane:/openlane openlane
shows the following error message:
Copy code
Unable to find image 'openlane:latest' locally
docker: Error response from daemon: Get "<https://registry-1.docker.io/v2/>": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
Running OpenLane through
Make mount
is completely fine. I'm using Ubuntu WSL-2. Any help? Much appreciated. Anas
v

Vijayan Krishnan

03/29/2022, 12:35 PM
@User fyi
d

donn

03/29/2022, 12:36 PM
this may have something to do with the fact that there is no image called "openlane"
v

Vijayan Krishnan

03/29/2022, 12:43 PM
a

Anas Alsakkal

03/29/2022, 1:40 PM
Thank you @User, if it runs through
make mount
, shouldn't be the case that the image actually exists?
d

donn

03/29/2022, 1:41 PM
It's just not called openlane. The image is efabless/openlane:<commit id>
a

Anas Alsakkal

03/29/2022, 2:35 PM
Thank you @User, the PDK_root and IMAGE_NAME are set as required.
@User
efabless/openlane
not working either. should the version be included? shouldn't take the latest version, if I have the latest? I'm assuming I have the latest, started working on it couple of days ago.
The purpose of this is to access the results from the host. How do you access your results in the docker container from Linux? @User @User
v

Vijayan Krishnan

03/30/2022, 5:21 AM
make mount
will provide access to openlane/designs directory directly
a

Anas Alsakkal

03/30/2022, 12:49 PM
Thanks @User! Yeah, you are right! for some reason, I did not check and assumed a volume is needed to share data. Many thanks! @User @User