Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer file with iic-osic-tool #101

Open
BaoTON1701 opened this issue Feb 12, 2025 · 3 comments
Open

transfer file with iic-osic-tool #101

BaoTON1701 opened this issue Feb 12, 2025 · 3 comments

Comments

@BaoTON1701
Copy link

Hi guys,

I'm using iic-osic-tool with linux.

Normally, I start the server using ./start_x.sh ...

But today i've realized that i don't know how to take the file from this server or transfer it to the local computer. Even i use the find manager of the pop up terminal (the one appear after command "./start_x.sh").

Do you know how we are able to transfer the file between them?

Thanks

@alekseil-20
Copy link

Hi! I usually used to start with ./start_vnc.sh and for me it works as follows: In the linux terminal on host I write "docker ps" to see the list of containers currently running. After I found a container id, I use "docker cp <container_id>:<file_path_inside_container> <final_destination_path>". This command should work both for vnc-viewer case (command that I am using "./start_vnc.sh") and for your case with ./start_x.sh.
The command described above works for uploading files from container to your host machine. You can easily find a "reversed" command if you want to upload file from host to container.

@BaoTON1701
Copy link
Author

Ah nice, thank you.

I confirm it works

@hpretl
Copy link
Member

hpretl commented Feb 14, 2025

When you start a container either using start_x.sh or start_vnc.sh the environment variable DESIGNS points to the folder which should be mounted inside the container to /foss/designs. If this variable is not set, then the default is $HOME/eda/designs.

Assuming you want to mount the folder /home/user1234/eda into the container, then use either

DESIGNS=/home/user1234/eda ./start_x.sh

or

DESIGNS=/home/user1234/eda ./start_vnc.sh

to start the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants