Docker [SOLVED]: How to set Docker Backing Filesystem to XFS?

Docker [SOLVED]: How to set Docker Backing Filesystem to XFS?

Home Forums Automation Tools Docker Tutorials Docker [SOLVED]: How to set Docker Backing Filesystem to XFS?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #245040

    Cloudy Point
    Keymaster

    QuestionQuestion

    I’m having difficulty setting up Docker to build a container with the XFS Filesystem. My Storage Driver is correctly set to overlay2, but my Backing Filesystem is extfs.

    Is there something I would specify for storage-opts in my docker daemon file?

    #245041

    Cloudy Point
    Keymaster

    Accepted AnswerAnswer

    If you are using the overlay2 storage driver, then Docker never creates filesystems. It is simply creating directories on your existing backing filesystem. If that filesystem is using ext4, that’s what you’re going to get.

    The only situation in which Docker actually creates a new filesystem is when using the devicemapper driver, in which case Docker is carving out chunks from a block storage device and then formatting them for use with the filesystem of your choice.

    Source: https://stackoverflow.com/questions/47957269/how-to-set-docker-backing-filesystem-to-xfs
    Author: larsks
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.