Container Structure - ewsdocker/ewsdocker.github.io GitHub Wiki

Debian Container Structure

All ewsdocker/debian images create containers with a pre-defined structure, which lends itself to replication within each created container, including those used as a base for a new container.

  1. Copying The Structure

    With all ewsdocker/debian-based containers, the scripts folder is installed in the container's file system root folder (/) after the installation of container packages.

    In the standard container, these folders are copied after installing all of the container packages, and will overlay the contents of duplicate files with those in the copied folders.

    COPY scripts/. /  
    

    If this statement is moved to a position in the Dockerfile before, the installion of the container, the installed packages will overlay any duplicate files in the copied structure.

    The etc and var folders contain system supervisor and initialization files, and are discussed in more detail in the ewsdocker/debian-base documentation.

  2. The usr folder contents

    The usr folder is used to personalize the container. The following image illustrates the basic configuration to use the Debian-Container-Runner, taken from the ewsdocker/debian-eclipse-php docker container:

⚠️ **GitHub.com Fallback** ⚠️