Good to know
119/136
6.2
Useful CLI commands and parameters in Terminal
6.2.1
Network Manager
sudo nmcli …
6.2.2
Show interface status
sudo nmcli dev status
6.2.3
Activate interface
(Re)activate interface, e.g. eth0:
sudo nmcli con up ifname eth0
6.2.4
Docker Compose support for Standard Docker environment
docker-compose <commands>
Examples
Show the version of Docker Compose:
docker-compose version
Start container(s) via Docker Compose file:
docker-compose -file <docker compose file.yml> up –d
Stop container(s) via Docker Compose file:
docker-compose -file <docker compose file.yml> down
6.2.5
Manage Standard Docker
docker <docker commands>
Examples
List all created containers of the Standard Docker instance:
docker ps
List all bridges of the Standard Docker instance:
docker network ls
6.2.6
Manage IoT Edge Docker
docker-iotedge <docker commands>
Example
To list all created containers for the IoT Edge Docker instance:
docker-iotedge ps -a
netFIELD Compact X8M | User manual
DOC220302UM01EN | Revision 1 | English | 2022-05 | Released | Public
© Hilscher 2022