Hidden Volumes¶
You can hide volumes from the Industrial Edge device UI, effectively preventing users from downloading the volume's content or accessing specific files.
To hide volumes, follow these guidelines:
- Use volume type Internal
- Specify the volume with the prefix
container_private_
.
The docker-compose.yaml could look like this:
version: '2.4'
services:
my-service:
image: my-image:0.0.1
container_name: my-image
mem_limit: 512mb
mem_reservation: 256mb
volumes:
- 'container_private_data:/data'
volumes:
container_private_data: null