File: api-container.xml

package info (click to toggle)
cockpit 188-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 119,768 kB
  • sloc: ansic: 66,833; xml: 5,776; python: 3,122; sh: 2,322; makefile: 1,289; sed: 7
file content (51 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<reference id="api-docker">
  <title>API: docker</title>

  <partintro>
    <para>This package contains components for control of Docker containers.</para>
  </partintro>

  <refentry id="api-console-html">
    <refmeta>
      <refentrytitle>console.html</refentrytitle>
    </refmeta>

    <refnamediv>
      <refname>console.html</refname>
      <refpurpose>Container console component</refpurpose>
    </refnamediv>

    <refsection id="api-console-html-description">
      <title>Description</title>
<programlisting>
&lt;iframe src="http://server:9090/cockpit/@localhost/docker/console.html"
    width="600" height="400"&gt;&lt;/iframe&gt;
</programlisting>

      <para>This is a Cockpit component that shows a live console for the container.
        If the container has a TTY then this will be a live interactive terminal,
        otherwise this shows log output.</para>

      <variablelist>
        <varlistentry>
          <term>Component URL</term>
          <listitem><para><code>/cockpit/@localhost/docker/console.html</code></para></listitem>
        </varlistentry>
        <varlistentry>
          <term>Container Identifier</term>
          <listitem>
            <para><code>#/6e272d82993c4e0d...</code></para>
            <para>The complete container identifier must be provided as shown in the hash above.</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </refsection>
  </refentry>

</reference>