From the course: Docker on Azure (2019)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Exec access

Exec access

From the course: Docker on Azure (2019)

Start my 1-month free trial

Exec access

- [Instructor] So certain environments, certain container environments, actually let us log in to the system. Now we don't have SSH, but we do have exec. Now within the VM model, it's very straightforward, we can use the Docker exec model to get into our containers. Within the ACI model, however, there's a slightly different mechanism, but there is a mechanism to do this, and I think it's actually a pretty useful tool for debugging environments that haven't gone to what I consider the true, full-on, stripped-down container model. If we go look at our dual container environment again, we can see we have our two containers and our logs sort of spit out their output from the different resources based on the capabilities that they're trying to manipulate in their startup processes and potentially even while they're running. But we also have this option of connecting, and a connect is the exec command. Now, we can…

Contents