HomeDevCentral

Prevent Hauk from using swap

Description

Prevent Hauk from using swap

Summary:
For privacy purpose, don't allow the container to use swap.
Geolocalisation will so only stored on RAM, never on disk.

Reference: https://docs.docker.com/config/containers/resource_constraints/

Test Plan:

  • deploy container on docker-002
  • docker stats hauk should show /256M as memory limit
  • docker inspect hauk should show both values

Reviewers: dereckson

Reviewed By: dereckson

Tags: privacy

Differential Revision: https://devcentral.nasqueron.org/D2807

Details

Provenance
derecksonAuthored on Feb 20 2023, 23:18
derecksonPushed on Feb 20 2023, 23:50
Reviewer
dereckson
Differential Revision
D2807: Prevent Hauk from using swap
Parents
rOPS037842dec76b: WIP: Configure RabbitMQ credentials from Vault
Branches
Unknown
Tags
Unknown