For training purposes at nris.no
303
The container has two main python applications and bash wrappers for them to demonstrate how containers access to host file system.
$: docker run --name access-check sabryr/nris-training-path-test
Unable to find image 'sabryr/nris-training-path-test:latest' locally
latest: Pulling from sabryr/nris-training-path-test
155ad54a8b28: Already exists
...
5e9ad5aa09b4: Already exists
717505a0fdb9: Pull complete
...
Digest: sha256:2085659edf2ae31d210120b185b78a2a060b54fc6530eef9aa38da554a49d373
Status: Downloaded newer image for sabryr/nris-training-path-test:latest
Operating System is Linux #17~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 20 22:48:29 UTC 2 release:6.11.0-17-generic
Python Version is 3.13.2 (main, Feb 25 2025, 05:25:21) [GCC 12.2.0]
Home directory is /user1
Current working directory /user1
Files to check (provided as arguments):
No file provided
This application prints the mounts points as the container see them
$: docker exec <container_id_or_name> access-list
Content type
Image
Digest
sha256:2085659ed…
Size
364.1 MB
Last updated
over 1 year ago
docker pull sabryr/nris-training-path-test