Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo docker ps -f "name=docker_appliance-server*"
sudo docker ps -f "name=docker_appliance-server*" --format "{{.ID}}"

Example output:

Code Block
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                          NAMES
6f2294adae77        043f064b7228        "/opt/iqas/server/fe…"   27 hours ago        Up 6 hours          0.0.0.0:7896->7896/tcp, 0.0.0.0:80->8081/tcp   docker_appliance-server_1

6f2294adae77

There will be CONTAINER ID in form of 6f2294adae77
Save the ID

...