Project

General

Profile

Revision 5397ee73

Added by David Davis over 7 years ago

Fixes #9382 - Use connection info when connecting to docker

View differences:

app/views/containers/show.html.erb
87 87
    </ul>
88 88
    <div id="myTabContent" class="tab-content">
89 89
      <div class="tab-pane active in" id="processes">
90
        <% processes = Docker::Container.get(@container.uuid).top %>
91 90
        <div class='accordion' id='accordion'>
92
          <% processes.each do |process| %>
91
          <% processes(@container).each do |process| %>
93 92
          <div>
94 93
            <h2>
95 94
              <a href='#<%= process['PID'] %>-index'
......
108 107
        </div>
109 108
      </div>
110 109
      <div class="tab-pane" id="logs">
111
        <pre class="terminal terminal-output pre-scrollable"><code><%= Docker::Container.get(@container.uuid).logs(:stdout => true, :tail => 100) %></code></pre>
110
        <pre class="terminal terminal-output pre-scrollable"><code>
111
          <%= logs(@container, :stdout => true, :tail => 100) %>
112
        </code></pre>
112 113
      </div>
113 114
    </div>
114 115
    <% else %>

Also available in: Unified diff