Package: docker.io
Version: 1.2.0~dfsg1-1
Severity: normal

man docker-inspect includes:

Getting the IP address of a container instance
       To get the IP address of a container use:

              # docker inspect --format='.NetworkSettings.IPAddress' 
1eb5fabf5a03
              172.17.0.2

Looking at /usr/share/man/man1/docker-inspect.1.gz I see

.nf
# docker inspect \-\-format='\{\{.NetworkSettings.IPAddress\}\}' 1eb5fabf5a03
172.17.0.2

Which looks like it might be *intended* to cause the curly braces to
render literally, but it isn't working.  (Without the braces, the
example gives back the literal string .NetworkSettings.IPAddress instead
of the actual address.)

At a quick glance, the "Listing all port bindings" right after that has
the same class of problem, as does the entire quoted json example.

I haven't done real nroff in decades, but if I feed the expected output
to ronn, it gives

# docker inspect \-\-format=\'{{\.NetworkSettings\.IPAddress}}\' 1eb5fabf5a03

which renders as-desired, when fed to "nroff -man".


-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docker.io depends on:
ii  adduser             3.113+nmu3
ii  iptables            1.4.21-2
ii  libapparmor1        2.8.0-8
ii  libc6               2.19-11
ii  libdevmapper1.02.1  2:1.02.90-1
ii  libsqlite3-0        3.8.6-1
ii  perl                5.20.1-1

Versions of packages docker.io recommends:
ii  aufs-tools       1:3.2+20130722-1.1
ii  ca-certificates  20140325
ii  cgroupfs-mount   1.0
ii  git              1:2.1.0-1
ii  xz-utils         5.1.1alpha+20120614-2

Versions of packages docker.io suggests:
pn  btrfs-tools  <none>
ii  debootstrap  1.0.63
pn  lxc          <none>
pn  rinse        <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to