Docker Community Forums

Share and learn in the Docker community.

--format option not working for docker inspect


(Puritycontrol) #1

Expected behavior

docker inspect --format {{.NetworkSettings.IPAddress}} furious_joliot
> 172.17.0.2

Actual behavior

docker inspect --format {{.NetworkSettings.IPAddress}} furious_joliot
> Error: No such image or container: ewAuAE4AZQB0AHcAbwByAGsAUwBlAHQAdABpAG4AZwBzAC4ASQBQAEEAZABkAHIAZQBzAHMAfQA=

Information

Windows 10 Pro Build Version : 10.0.10586

Steps to reproduce the behavior

  1. run docker inspect command with the --format option
  2. same steps work as expected on linux and mac beta.