Comments (14)
I found this helpful, thanks so much!
Not sure if this'll help anyone but I made a quick copy of @hchasens build but I built it for arm64 and confirmed it working on an arm based Mac available here. I agree to switch back as soon as the pull request is merged.
from papermc-docker.
I get the error Error response from daemon: manifest for hchasens/papermc:latest not found: manifest unknown: manifest unknown
when trying to pull your version. I can pull phyremaster/papermc
just fine though... any idea what the problem might be? I'm still pretty new to docker.
from papermc-docker.
@captain-reginald Try pulling 'hchasens/papermc:1.18.1' exactly. I've not tagged any 'latest' so you're getting the docker equivalent of a 404. (This was to communicate that the repo would not be maintained) If you'd like an example there's a 'docker-compose.yml' in the description of the docker repo.
from papermc-docker.
@captain-reginald Try pulling 'hchasens/papermc:1.18.1' exactly. I've not tagged any 'latest' so you're getting the docker equivalent of a 404. (This was to communicate that the repo would not be maintained) If you'd like an example there's a 'docker-compose.yml' in the description of the docker repo.
Hmm, I just did that and now I'm getting repository does not exist or may require docker login: denied: requested access to the resource is denied
.
Edit: That's the same response I get when pulling Myriadical's fork as well.
from papermc-docker.
I'll be able to talk in 30 minutes. My email is on my profile. If you email me your discord or phone number I'll be happy to provide some tech support 😁. I'll then post the solution here or, if needed, open a new issue. Does this work for you?
from papermc-docker.
I'll be able to talk in 30 minutes. My email is on my profile. If you email me your discord or phone number I'll be happy to provide some tech support 😁. I'll then post the solution here or, if needed, open a new issue. Does this work for you?
Unfortunately I'll be busy this evening starting right around then, haha. Would you be at all available any time on Sunday?
from papermc-docker.
I should be. Email me and we'll workout scheduling. In the meantime can you post your:
Computer Type/Specs
OS Type and Version
Docker Version
And your start script/command along with the output
from papermc-docker.
Emailed you a bit ago. :)
My computer is a repurposed desktop that I've turned into a server.
Specs are:
AMD Phenom II x6 1055T processor
28 GB of RAM
GTX 560 GPU (just for graphics output when I'm not logging in via ssh)
256 GB SSD boot drive with three 500 GB HDDs in RAID-z as a ZFS pool
Host OS is TrueNAS SCALE (brand new to that)
I tried running docker natively, but I get an error saying my jar file is corrupt - no idea why. The same containers work fine outside of TrueNAS. As such I'm currently working with a virtualized version of Ubuntu Server 20.04.3 LTS.
Docker version is 20.10.7.
Edit:
Start script inside of TrueNAS is sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -d -it --restart on-failure --name "papermc-1.18.1" -e MC_VERSION="1.18.1" -e MC_RAM="4G" phyremaster/papermc
Output is Error: Invalid or corrupt jarfile paper--.jar
I haven't run a start script for any of the other forks yet since I haven't been able to pull them. Also, in my ubuntu server vm, the start script is the same except the path is ~/minecraft/papermc/test:/papermc
instead. That boots fine in 1.17.1 but not 1.18 since the official image doesn't support the correct version of Java yet.
from papermc-docker.
Thank you. I just successfully pulled the repo from another system. It sounds like a config issue more than anything. I'll be happy to help. What's your start command/script?
from papermc-docker.
Sorry about leaving off the script, I just edited the comment to include it.
from papermc-docker.
I think the issue is with your start script. I think I confused you with a pervious comment about versions. Try using this command.
sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -d -it --restart on-failure --name "papermc-1.18.1" -e MC_RAM="4G" hchasens/papermc:1.18.1
For debugging it also helps to avoid detaching the container, this way you can see it's output. A detached version would be.
sudo docker run -p 25565:25565 -v /mnt/zpool1/minecraft/papermc/test:/papermc -it --restart on-failure --name "papermc-1.18.1" -e MC_RAM="4G" hchasens/papermc:1.18.1
I tested this on my Mac (with a modified volume argument) and it worked fine.
If you're still having issues we'll meet on Sunday.
from papermc-docker.
Just for public record, the problem is solved. I couldn't pull the image because it was pulling the tag latest
when that wasn't specified. Fixed with docker pull hchasens/papermc:1.18.1
Thanks again for your help!
from papermc-docker.
Pull request #64 solves this. I compiled and image and it's available here. I'm not maintaining this and you should switch back as soon as @Phyremaster merges the pull request!
I know this isn't a 'Issue' but anyone having this issue might look here. Please close upon merge. Thank you and sorry for the misuse of this the Issues tab.
Very useful, thanks a lot!
from papermc-docker.
Holy shit. I can't believe I let this slide for so long. My apologies to everyone who's been inconvenienced by this over the past few years, and my thanks to everyone who has provided workarounds and alternatives during this time.
I just merged #72 which has the side effect of fixing this. Please let me know if anything breaks, because clearly telling myself that I have to test every PR personally was a terrible idea; I haven't used Docker directly for game servers for years and never set up a testing environment. I will create a discussion with further information.
from papermc-docker.
Related Issues (20)
- jdk8 - papermc 1.8.8 HOT 2
- Out of memory error HOT 34
- Add License HOT 1
- Add PUID and PGID env option for Portainer compatibility HOT 18
- Upgrade to Java 16 for Minecraft version 1.17+ HOT 4
- cgroups error when deploying in a kubernetes environment HOT 1
- Add support for no RAM limit
- Prevent auto-update from corrupting the world
- Restarting server HOT 1
- Can this run on ARMv7 32bit architecture? HOT 3
- Make "latest" option not case sensitive HOT 11
- IP-Address HOT 3
- Script not working... HOT 1
- Bug in exposed ports HOT 3
- Enhancement: Control EULA with environment variable
- Unable to run Docker container with 1.17 Minecraft HOT 1
- Java 17 not recognized
- Security vulnerabilities in openjdk:17-slim
- Please bump java version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papermc-docker.