root@armbian:~# docker exec -it [docker名称] ./alist admin set abcd123456
INFO[2024-02-20 11:06:29] reading config file: data/config.json        
INFO[2024-02-20 11:06:29] load config from env with prefix: ALIST_     
INFO[2024-02-20 11:06:29] init logrus...                               
INFO[2024-02-20 11:06:29] admin user has been updated:                 
INFO[2024-02-20 11:06:29] username: admin                              
INFO[2024-02-20 11:06:29] password: abcd123456

docker exec -it [docker名称] ./alist [账号] set [密码]

docker名称不一定是alist,我在创建alist的docker时,起的名字就是alistdocker

Logo

一起探索未来云端世界的核心,云原生技术专区带您领略创新、高效和可扩展的云计算解决方案,引领您在数字化时代的成功之路。

更多推荐