User bio
404 bio not found
Member since Dec 7, 2016
Posts:
Steve has not published any posts yet.
Replies:

I'm not sure I understand the use case for installing SSH when docker exec is already available:

  • Running an IRIS session:
    • docker exec -it iris iris session IRIS
  • Starting a shell:
    • docker exec -it iris bash
  • Starting a shell as root (in an IRIS container with "Normal" security):
    • docker exec -it --user=root iris bash

These commands can be run from a machine other than the host:

  • docker --host=tcp://35.231.179.51:2376 exec -it iris bash

They can be run securely from an outside machine by configuring docker to use TLS:

  • docker --host=tcp://35.231.179.51:2376 --tls --tlscacert=ca.pem --tlscert=cert.pem --tlskey=key.pem exec -it iris bash

In what situations would SSH be preferable?

Certifications & Credly badges:
Steve has no Certifications & Credly badges yet.
Global Masters badges:
Steve has no Global Masters badges yet.
Followers:
Steve has no followers yet.
Following:
Steve has not followed anybody yet.