Dokploy

Reset Password & 2FA

Reset your password to access your Dokploy account and disable 2FA.

These steps need shell access to the server. On Enterprise instances, admins can make the Lost your password? link on the login page show their own instructions and a support contact instead. See Whitelabeling → Forgot Password.

Reset Password

To reset your password, follow these steps:

Log in to your VPS.

Run the command below to get the container ID of the dokploy container.

docker ps

Run command below to open a shell in the dokploy container.

 docker exec -it <container-id> bash -c "pnpm run reset-password"

It will display a random password. Copy it and use it to access again to the dashboard.

Reset 2FA

To disable 2FA, follow these steps:

To reset your 2FA, follow these steps:

Log in to your VPS.

Run the command below to get the container ID of the dokploy container.

docker ps

Run command below to open a shell in the dokploy container.

 docker exec -it <container-id> bash -c "pnpm run reset-2fa"

You can now login again without having to supply a 2FA code.

On this page