Any pointers for installing directly into a container with Ubuntu 16.04? I need to prepare an image for quick release into production whenever needed, hence trying the fresh install.
These are the steps I’m taking:
docker container run -u root -p 5000:5000 -it --name ubuntu-redash-all ubuntu:16.04 bash
I copy the file inside the container:
docker cp ubuntu-script.sh ubuntu-redash-all:/home
Finally, inside the container’s bash command line, I run the script:
After a few long steps I get:
line 58: sudo: command not found and
Not creating home directory/home/redash’.`
Thank you in advance for your very appreciated comments.