Giter Club home page Giter Club logo

Comments (11)

KasperFranz avatar KasperFranz commented on August 17, 2024

the ark directory is created in the setup process

from ark-docker.

KasperFranz avatar KasperFranz commented on August 17, 2024

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.

Julime avatar Julime commented on August 17, 2024

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.

KasperFranz avatar KasperFranz commented on August 17, 2024

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.

TuRz4m avatar TuRz4m commented on August 17, 2024

I'm working on something for you, it willl be ready soon on the 1.3-dev branch. :)

from ark-docker.

TuRz4m avatar TuRz4m commented on August 17, 2024

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.

KasperFranz avatar KasperFranz commented on August 17, 2024

I will try it out - thank you :)

from ark-docker.

KasperFranz avatar KasperFranz commented on August 17, 2024

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.

TuRz4m avatar TuRz4m commented on August 17, 2024

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.

KasperFranz avatar KasperFranz commented on August 17, 2024

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.

TuRz4m avatar TuRz4m commented on August 17, 2024

You're welcome :]

from ark-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.