Srki
posted this
02 December 2021
- Last edited 02 December 2021
Yes, I am running it within a container. However, I'm a bit stuck on how to do all this.
I run (apt-get install -y openjdk-17-jre-headless) and it did install latest jre 17.
Then I logged in as AMP user with this command (sudo su -l amp)
To change to nightly I run (ampinstmgr switch Minecraft Nightly) and to restart I run (ampinstmgr restart)
I'm not sure how to recreate the container by applying the new image. I run (docker pull nginx:latest) and then run a command to delete the old container (docker rm Minecraft-nginx) and it says no such container, after that I was going to make a new container by running this (docker run -d -p 80:80 --Minecraft-nginx nginx:latest) but I didn't type this in yet since I'm stuck
Thank you for taking your time to help me out. I would appreciate it if you could guide me step by step since I'm not good at this.