You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

74 lines
1.8 KiB

= Instanches
Swarmlab
:idprefix:
:idseparator: -
:!example-caption:
:!table-caption:
:page-pagination:
:experimental:
This is the area where you can *connect to running Instances*
To request more info about the *instance* we use the more icon
image:hybrid:more.png[Info]
== Connect
image:hybrid:more-buttons.png[float=right]
* We can *connect* to instance by using the btn:[connect] button
.connect
image::hybrid:manage-instanches-connect.png[network,float=center]
== Directory Maps
In general, Docker containers are ephemeral, running just as long as it takes for the command issued in the container to complete. By default, any data created inside the container is only available from within the container and only while the container is running.
=== Mounts
image:hybrid:types-of-mounts-volume.png[300,float=right]
Bind mounts have been around since the early days of Docker
A bind mount is a file or folder stored anywhere on the container host filesystem, mounted into a running container.
The file or directory is referenced by its absolute path on the host machine
The file or directory does not need to exist on the Docker host already. It is created on demand if it does not yet exist. Bind mounts are very performant, but they rely on the host machine’s filesystem having a specific directory structure available.
=== Swarmlab maps
Directory maps can be used to share files between a host system and the Docker container
.directory maps
image::hybrid:manage-instanches-maps.png[maps,float=center]
== X apps
App with GUI
Open a terminal and Run:
[source,bash]
----
xhost +local:docker
----
== Video
=== Connect and maps
****
TIP: Learn how to connect to an Instance using the terminal
video::564842745[vimeo]
TIP: Learn how to connect to Instance using a browser
video::564844891[vimeo]
****