kokonautor Posted January 2, 2020 Share Posted January 2, 2020 (edited) 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 January 2, 2020 by kokonautor Quote Link to comment
Squid Posted January 2, 2020 Share Posted January 2, 2020 There's no guarantee that any given container will have any given nix command installed. You could try docker exec -it vestacp sh as a fall back. Quote Link to comment
Siwat2545 Posted January 3, 2020 Share Posted January 3, 2020 (edited) 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 January 3, 2020 by Siwat2545 Quote Link to comment
kokonautor Posted January 3, 2020 Author Share Posted January 3, 2020 Thanks. Does anbody knows how much ram/cpu docker takes in unraid? Is it possible to define this somewhere like in VM´s? Quote Link to comment
Recommended Posts
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.