fstrim has default cron.weekly entry on docker containers (partner-images)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned |
Bug Description
Docker image `ubuntu:16.04` (docker-
$ docker run -ti -v tmp:/tmp2 ubuntu:16.04 /sbin/fstrim --all
fstrim: /etc/hosts: not a directory
fstrim: /etc/hostname: not a directory
fstrim: /etc/resolv.conf: not a directory
fstrim: /tmp2: FITRIM ioctl failed: Operation not permitted
I think the `/etc/cron.
References:
docker-brew-ubuntu github issue 72: https:/
serverfault question 820169: http://
description: | updated |
description: | updated |
tags: |
added: linux-utils removed: linux-util |
Workaround for now is to add `RUN rm /etc/cron. weekly/ fstrim` to my Dockerfile