You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
Hi.. I'm getting the following error when running inside docker when I stop the service.
OSError: [Errno 16] Device or resource busy: '/etc/hosts.local-cname-backup' -> '/etc/hosts'
/etc/hosts is mounted by the docker daemon so the rename will fail.
# mount | grep hosts
/dev/nvme0n1p1 on /etc/hosts type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
A good way of fixing could be something like detecting if /etc/hosts is mounted and if do, just do something like a cat over the file (like the pseudo code):
Hi.. I'm getting the following error when running inside docker when I stop the service.
/etc/hosts
is mounted by the docker daemon so the rename will fail.A good way of fixing could be something like detecting if /etc/hosts is mounted and if do, just do something like a
cat
over the file (like the pseudo code):The text was updated successfully, but these errors were encountered: