Why are my docker applications not working correctly after changing the hostname?
- Marek Meyer
Why are my docker applications not working correctly after changing the hostname?
This is a known issue in the current netFIELD OS version. When a user changes the hostname of the system, the new hostname is not correctly added to the /etc/hosts file. This causes Docker containers (running in host mode) to be unable to resolve the new hostname, as they continue to use the old IP address. This can result in the application not functioning properly if it relies on the hostname.
If you encounter problems after changing the hostname of your edge device, please check the /etc/hosts
file and change the hostname there, as well.
The containers should be restarted after this change. You may also want to reboot the OS to ensure that all changes have taken effect.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: