To run docker container using docker compose docker-compose up.
and if you want to update password to hased password, first create a new password using command echo -n "password" | argon2 passphrase -e and then copy the hashed password to config.yml in ./.config/code-server/config.yaml and change password to hashed-password like this
bind-addr: 127.0.0.1:8080
auth: password
hashed-password: "$argon2i$v=19$m=4096,t=3,p=1$cGFzc3BocmFzZQ$okkrFbM7upiCdoRdy3EWd7PXPdwXgN4lCaTY9MupgYo"
cert: falseif your run docker-compose with sudo, make folder .local, .config, and project in current directory and change the owner to your current user, like sudo chown -R $USER:$USER .local etc.
change owner of
.localand.configfolder recursively bysudo chown -R $USER:$USER .local