The password of USER haproxy by default?
xxflwjq opened this issue · 1 comments
xxflwjq commented
Need password of root and haproxy for command apt
Note: the 2.4+ versions of the container will run as USER haproxy by default
haproxy@xxxxxxx:/$ su root
Password:
su: Authentication failure
haproxy@xxxxxxx:/$ passwd haproxy
Changing password for haproxy.
Current password:
passwd: Authentication token manipulation error
passwd: password unchanged
xxflwjq commented
Add "user: root" in docker-compose.yml instead of change password, then "apt-get update" availabled.
version: '3.5'
services:
haproxy:
image: haproxy
user: root
... ...