You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing inside a devcontainer, is there a way to run rsync from a terminal within the local container host, as opposed to a terminal on the devcontainer?
On Mac, Docker containers do not have access to the local network (i.e., option --net host does not work as in Linux), so it becomes hard to use rsync to other hosts in the local network. Imagine the following scenario:
Host A (dev host): a devcontainer on a MacOS host.
Host B (test host): another host in the local network.
I would like to rsync from Host A to Host B using vscode-rsync.
My current workaround is to open a local terminal on vscode (command Create New Integrated Terminal (Local)), which opens a terminal directly on the devcontainer host (the shell opens with the message below). Then, from this terminal, I call a script to rsync. However, it would be a lot nicer to just run the Sync-Rsync command.
* This shell is running on your local machine, NOT on the connected remote machine
Any ideas?
The text was updated successfully, but these errors were encountered:
igorauad
changed the title
Ability to run rsync from the local terminal
Ability to run rsync from the local devcontainer host terminal
Apr 18, 2023
igorauad
changed the title
Ability to run rsync from the local devcontainer host terminal
Ability to run rsync from a local devcontainer host terminal
Apr 18, 2023
Hi,
When developing inside a devcontainer, is there a way to run rsync from a terminal within the local container host, as opposed to a terminal on the devcontainer?
On Mac, Docker containers do not have access to the local network (i.e., option
--net host
does not work as in Linux), so it becomes hard to use rsync to other hosts in the local network. Imagine the following scenario:I would like to rsync from Host A to Host B using vscode-rsync.
My current workaround is to open a local terminal on vscode (command
Create New Integrated Terminal (Local)
), which opens a terminal directly on the devcontainer host (the shell opens with the message below). Then, from this terminal, I call a script to rsync. However, it would be a lot nicer to just run the Sync-Rsync command.Any ideas?
The text was updated successfully, but these errors were encountered: