Skip to content

Commit

Permalink
Add illustrations, to show files and ports
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Dec 9, 2018
1 parent bf192ce commit 4a5c295
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ This means that files to be used must be located there.

There is currently no access to any network filesystems.

![files](files.png)

In order to copy files, you can use the command `scp`:

``` console
Expand Down Expand Up @@ -160,6 +162,8 @@ Then you can forward local ports, over to the virtual machine.

From there, they can access any ports published by containers.

![ports](ports.png)

This is done by starting a `ssh` command, as a background process.

``` console
Expand Down
20 changes: 20 additions & 0 deletions files.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
digraph G {
rankdir=LR;
graph [fontname = "Source Sans Pro"];
node [fontname = "Source Sans Pro"];
edge [fontname = "Source Sans Pro"];

local [ label="Local\n/path" ];
machine [ label="Machine\n/path" ];
container [ label="Container\n/path" ];
subgraph cluster_VM {
rankdir=LR;
style=filled;
color=lightskyblue;
machine container;
label = "VirtualBox";
}
local -> machine [ label="scp" ];
machine -> local [ label="sshfs" ];
machine -> container [ label="volume" ];
}
Binary file added files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions ports.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
digraph G {
rankdir=LR;
graph [fontname = "Source Sans Pro"];
node [fontname = "Source Sans Pro"];
edge [fontname = "Source Sans Pro"];

local [ label="Local\nport" ];
machine [ label="Machine\nport" ];
container [ label="Container\nport" ];
subgraph cluster_VM {
rankdir=LR;
style=filled;
color=lightskyblue;
machine container;
label = "VirtualBox";
}
local -> machine [ label="ssh -L" ];
machine -> local [ label="ip" ];
machine -> container [ label="publish" ];
}
Binary file added ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4a5c295

Please sign in to comment.