Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Linux Tools Project/News/NewIn51"

m (Docker Tooling)
(Automated Connection Detection)
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
Support has been added for docker compose.
 
Support has been added for docker compose.
 +
 +
Right-clicking on a docker-compose.yml file (either in the Project Explorer or from the text editor)
 +
will allow you to Run as...->Docker Compose
 +
 +
[[Image:LinuxToolsDockerCompose.png]]
  
 
=== Docker Hierarchy View ===
 
=== Docker Hierarchy View ===
  
 
A new view has been added to show the hierarchy of Docker images.
 
A new view has been added to show the hierarchy of Docker images.
 +
 +
[[File:Docker-image-hierarchy-view.png]]
  
 
=== Docker Push Improvements ===
 
=== Docker Push Improvements ===
  
Improvements have been made in the Docker Push wizard to add --force support.
+
Improvements have been made in the Docker Push wizard to add --force support. This
 +
option is useful when overwriting an image in a repository.  As well,
 +
a user may now specify a totally new tag to use on the push (not just a tag that was
 +
already in place).  When specifying a new tag, the
 +
user is given the opportunity to save the tag locally (default is to only use the tag
 +
on the push).
 +
 
 +
[[Image:LinuxToolsDockerPushWizard.png]]
  
 
=== Docker Registry Support ===
 
=== Docker Registry Support ===
Line 17: Line 31:
 
Support has been added to allow registering a user with password for a remote registry
 
Support has been added to allow registering a user with password for a remote registry
 
and to use the registry for push / pull.
 
and to use the registry for push / pull.
 +
 +
To add a user with password, use the Window->Preferences->Docker->Registry Accounts preference
 +
page.  There you can add accounts, edit account information, and remove accounts.  When
 +
pushing or pulling an image, a pull-down will allow you to choose any of the previous entries
 +
you have added or you may add a new one.
 +
 +
[[Image:LinuxToolsDockerRegistryAccountPreferences.png]]
  
 
=== Automated Connection Detection ===
 
=== Automated Connection Detection ===
  
 
Automated Docker Connection detection has been improved for Windows/Mac.  In addition, an extension has been
 
Automated Docker Connection detection has been improved for Windows/Mac.  In addition, an extension has been
added to allow additional settings providers in the future.
+
added to allow additional settings providers in the future (org.eclipse.linuxtools.docker.core.connection).
  
 
=== Docker Container Label Support ===
 
=== Docker Container Label Support ===
  
Docker Containers can have labels added to them.  In addition, the Docker Containers view now supports filtering
+
Docker Containers can have labels added to them when Running an ImageThese labels
by label.
+
can be used for filtering in the Docker Containers View or from the command line.
 +
 
 +
[[Image:LinuxToolsRunImageWizard2.png]]
 +
 
 +
The Docker Containers view supports filtering by label from it's view menu (click
 +
view menu dropdown->Filter By Label).  The labels to filter are specified by clicking on the
 +
Configure Labels Filter... also found in the view menu drop-down.  Multiple labels can be
 +
specified, with or without values.  Labels without values will match any Container with
 +
that label specified.  If no labels are specified for filtering, then all Containers will
 +
match, subject to any other filters in place.
 +
 
 +
[[Image:LinuxToolsDockerConfigureLabelFilters.png]]
 +
 
 +
=== Docker Container Restart ===
 +
 
 +
Restarting a Docker Container is now supported from the Docker Containers view context menu.
 +
A restart consists of trying to stop any running or paused container.  If the stop does not
 +
occur within a specified period of time, the Container is killed.  The Container is then
 +
started.
 +
 
 +
The time to wait for a Container to stop is defaulted to 10 seconds.  This value can be changed
 +
using the Window->Preferences->Docker preferences page.
 +
 
 +
[[Image:LinuxToolsDockerRestartTime.png]]
  
 
=== Connection Wizard Clipboard Support ===
 
=== Connection Wizard Clipboard Support ===
  
Have you ever found yourself needing to pass a bunch of parameters to the connection wizard from the command-line just after bringing up a Docker Daemon ? If it's an authenticated TCP connection it can be quite a hassle. With clipboard support for this wizard, one only needs to copy/select a range of lines containing the connection information (DOCKER_HOST, DOCKER_CERT_PATH, DOCKER_TLS_VERIFY) and the connection information will be automatically filled in once the wizard once the "Add Connection" button is clicked.
+
Have you ever found yourself needing to pass a bunch of parameters to the connection wizard that are printed from the command-line ? If it's an authenticated TCP connection it can be quite a hassle.
 +
 
 +
With clipboard support, one only needs to copy/select a range of lines containing the connection information and it'll be automatically filled into the connection wizard as it's being brought up (eg. "Add Connection").
 +
 
 +
[[File:Docker-tooling-clipboard-connection.png]]
  
 
While we might not be able to support every single kind of Daemon connection, we can certainly make it easier to get that information into the Docker Tooling.
 
While we might not be able to support every single kind of Daemon connection, we can certainly make it easier to get that information into the Docker Tooling.

Latest revision as of 18:16, 8 September 2016

Docker Tooling

Docker Compose

Support has been added for docker compose.

Right-clicking on a docker-compose.yml file (either in the Project Explorer or from the text editor) will allow you to Run as...->Docker Compose

LinuxToolsDockerCompose.png

Docker Hierarchy View

A new view has been added to show the hierarchy of Docker images.

Docker-image-hierarchy-view.png

Docker Push Improvements

Improvements have been made in the Docker Push wizard to add --force support. This option is useful when overwriting an image in a repository. As well, a user may now specify a totally new tag to use on the push (not just a tag that was already in place). When specifying a new tag, the user is given the opportunity to save the tag locally (default is to only use the tag on the push).

LinuxToolsDockerPushWizard.png

Docker Registry Support

Support has been added to allow registering a user with password for a remote registry and to use the registry for push / pull.

To add a user with password, use the Window->Preferences->Docker->Registry Accounts preference page. There you can add accounts, edit account information, and remove accounts. When pushing or pulling an image, a pull-down will allow you to choose any of the previous entries you have added or you may add a new one.

LinuxToolsDockerRegistryAccountPreferences.png

Automated Connection Detection

Automated Docker Connection detection has been improved for Windows/Mac. In addition, an extension has been added to allow additional settings providers in the future (org.eclipse.linuxtools.docker.core.connection).

Docker Container Label Support

Docker Containers can have labels added to them when Running an Image. These labels can be used for filtering in the Docker Containers View or from the command line.

LinuxToolsRunImageWizard2.png

The Docker Containers view supports filtering by label from it's view menu (click view menu dropdown->Filter By Label). The labels to filter are specified by clicking on the Configure Labels Filter... also found in the view menu drop-down. Multiple labels can be specified, with or without values. Labels without values will match any Container with that label specified. If no labels are specified for filtering, then all Containers will match, subject to any other filters in place.

LinuxToolsDockerConfigureLabelFilters.png

Docker Container Restart

Restarting a Docker Container is now supported from the Docker Containers view context menu. A restart consists of trying to stop any running or paused container. If the stop does not occur within a specified period of time, the Container is killed. The Container is then started.

The time to wait for a Container to stop is defaulted to 10 seconds. This value can be changed using the Window->Preferences->Docker preferences page.

LinuxToolsDockerRestartTime.png

Connection Wizard Clipboard Support

Have you ever found yourself needing to pass a bunch of parameters to the connection wizard that are printed from the command-line ? If it's an authenticated TCP connection it can be quite a hassle.

With clipboard support, one only needs to copy/select a range of lines containing the connection information and it'll be automatically filled into the connection wizard as it's being brought up (eg. "Add Connection").

Docker-tooling-clipboard-connection.png

While we might not be able to support every single kind of Daemon connection, we can certainly make it easier to get that information into the Docker Tooling.

Back to the top