Cant use commands in console


Recommended Posts

Hello I installed https://hub.docker.com/r/niiknow/vestacp container in UNRAID 6.6.7. i need to do some commands like sudo docker exec $CONTAINER_ID cat /vesta-start/root/password.txt to get password. But I just can´t. I´m not sure if I shouuld choose shell or bash in docker config. COuld anyone help please?

 

I also tried some reccomended commands with error:

root@54cf4e70d3f3:/# docker exec -it vestacp bash
bash: docker: command not found

Edited by kokonautor
Link to comment
9 hours ago, kokonautor said:

Hello I installed https://hub.docker.com/r/niiknow/vestacp container in UNRAID 6.6.7. i need to do some commands like sudo docker exec $CONTAINER_ID cat /vesta-start/root/password.txt to get password. But I just can´t. I´m not sure if I shouuld choose shell or bash in docker config. COuld anyone help please?

 

I also tried some reccomended commands with error:

root@54cf4e70d3f3:/# docker exec -it vestacp bash
bash: docker: command not found

Looks like your running docker-cli command inside a docker container, try using the unraid terminal instead of container shell

Or you could just use passwd -u root to change the password

Edited by Siwat2545
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.