Comments (11)
the ark directory is created in the setup process
from ark-docker.
I think my issue is that the default user on the docker is 1000 and my docker user is 1003.
Do you know how to set this without having to do -u=1000 and -user=1000 on every run?
from ark-docker.
you need to have the right user:group permissions to yout folder:
julime@mymachine:/srv/docker$ ls -la
drwxr-xr-x 6 julime julime 4096 Jul 6 22:30 ark/
you can set these with chmod -R julime:julime ark/
from ark-docker.
Julime, that doesn't solve the problem as the problem is something between the volumen on the container and my local, where permissions doesn't match up if i don't do the -u=100 etc.
from ark-docker.
I'm working on something for you, it willl be ready soon on the 1.3-dev branch. :)
from ark-docker.
You can try now with the following docker-compose.yml :
ark:
container_name: ark
image: turzam/ark:1.3-dev
environment:
- SESSIONNAME=Ark
- SERVERMAP=TheIsland
- STEAMPORT=7779
- SERVERPORT=27016
- SERVERPASSWORD=""
- ADMINPASSWORD=somerandompassword
- BACKUPONSTART=1
- UPDATEONSTART=1
- TZ=Europe/Paris
- GID=1003
- UID=1003
volumes:
- ~/docker-ark:/ark
ports:
- 7779:7779/udp
- 7779:7779
- 27016:27016/udp
- 27016:27016
- 32331:32330
And run it with the command docker-compose up -d
Note : You can't just rebind the port 7778 & 27015, you need to use the environment variable SERVERPORT and STEAMPORT (or it won't work).
Note 2 : You can see here the doc for this version (1.3-dev).
from ark-docker.
I will try it out - thank you :)
from ark-docker.
That didn't work sadly.
My fix was to add user 1000 to sudoer and make that account own the folder in /home/docker/docker-ark (the location of ~/docker-ark)
I don't like the solution as user 1000 is minecraft which for security reasons wasn't in sudoers.
But I guess this is more of a general docker problem and not a problem with your docker image
from ark-docker.
Ok, my bad : the build failed on docker hub because it couldn't contact steam... -_-
It should be good now.
Edit : don't forget to git pull turzam/ark:1.3-dev to get the latest version.
from ark-docker.
That got it to work, I got it to work now with your updated version.
Thank you so much for all this :)
from ark-docker.
You're welcome :]
from ark-docker.
Related Issues (20)
- ShooterGameServer - Permission Denied HOT 1
- any updates? HOT 4
- Clarification for setup with arkservers.net
- Ark Server Ports not correctly working. HOT 1
- docker-compose failed to create symbolic link, Game.ini and GameUserSettings.ini already exist HOT 2
- Permissions Denied on first run HOT 1
- arkmanager: line 196: exec: runuser: not found
- Size HOT 3
- libsteam_api.so Error - is it back?
- is it possible to use this server in xbox? HOT 4
- Cluster Setup
- Server online: No HOT 8
- Set -crossplay flag HOT 3
- /usr/local/bin/arkmanager: line 199: /sbin/runuser: No such file or directory
- Timeout when connecting to my own server HOT 2
- Server is not listening HOT 5
- Failed copying ark profiles
- Server tries to install not defined mod HOT 3
- Can't join server HOT 5
- Can this image be used with Android app Ark Mobile?
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 ark-docker.