• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: July 24th, 2023

help-circle



  • yes, and that command I pasted will run that /stop command inside the docker container. The same way you can list files or do any other commands on a running container:

    # docker exec heimdall ls -la /
    total 148
    drwxr-xr-x   1 root root  4096 Jul 14 07:09 .
    drwxr-xr-x   1 root root  4096 Jul 14 07:09 ..
    -rwxr-xr-x   1 root root     0 Jul 14 07:09 .dockerenv
    drwxr-xr-x   1 abc  abc   4096 Jul 14 07:09 app
    drwxr-xr-x   1 root root  4096 Jun 17 15:30 bin
    drwxr-xr-x   2 root root 12288 Jun 17 15:30 command
    drwxr-xr-x   7 abc  abc   4096 Dec  3  2022 config
    drwxr-xr-x   1 abc  abc   4096 Jun 23 20:35 defaults
    drwxr-xr-x   5 root root   340 Aug 19 04:52 dev
    -rwxr--r--   1 root root 18257 Jan  1  1970 docker-mods
    drwxr-xr-x   1 root root  4096 Aug 19 04:52 etc
    drwxr-xr-x   2 root root  4096 Jun 23 20:35 heimdall