Files
NetAlertX/test/docker_tests

Alpine Docker tests

This is intended to be run as Root user as permissions are altered. It will create and analyze the results of various configurations on containers. The test craeates a container, logs the results, terminates the container, then starts the next test 0. No errors on startup

  1. missing config/db generation
  2. After config/db generation
  3. root user mount on
    1. /app/db
    2. /app/config
    3. /app/log
    4. /app/api
    5. /services/config/nginx/conf.active
    6. /services/run/
  4. 000 permissions on
    1. /app/db
    2. /app/db/app.db
    3. /app/config
    4. /app/config/app.conf
    5. /app/log
    6. /app/api
    7. /services/config/nginx/conf.active
    8. /services/run/
  5. Container read-only missing mounts
    1. /app/db
    2. /app/config
    3. /app/log
    4. /app/api
    5. /services/config/nginx/conf.active
    6. /services/run/
  6. Custom port/listen address without /services/config/nginx/conf.active mount
  7. Missing cap NET_ADMIN, NET_RAW, NET_BIND_SERVICE
  8. Run as Root user
  9. Run as user 1000
  10. Run without network_mode host
  11. Missing /app/config/app.conf
  12. Missing /app/db/app.db
  13. Ramdisk mounted on
    1. /app/config
    2. /app/db