Skip to content

Issue with install Ubuntu 20.04.4 - sudo: command not found #285

Answered by RedKrieg
Enigma619 asked this question in Q&A
Discussion options

You must be logged in to vote

Your docker container is not a complete OS install, it's missing components like the package manager. If you want to install packages inside a docker container, you'll have to consult the docker documentation for info on installing apt/dpkg and any other applications that are missing in your container and used by the script. You can run scripts like this to see the actual commands being attempted (warning, very verbose): bash -x ./njordmenu.sh

This project might be a better starting point for you if you're focused on learning to use docker to host Valheim: https://github.com/lloesche/valheim-server-docker

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Enigma619
Comment options

@Nimdy
Comment options

Answer selected by Nimdy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants