Comments (12)
I'm going to make a pull request to update the README.md
later this day.
from docker-sinusbot.
Can you please write on which OS and platform you are running on?
Also which docker version
would be good.
from docker-sinusbot.
I'm running Mac OS X 10.13.2.
My docker version:
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:03:51 2017
OS/Arch: darwin/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:29 2017
OS/Arch: linux/amd64
Experimental: true
from docker-sinusbot.
Please run the following commands post their output.
docker pull galexrt/sinusbot:latest
docker container run --name sinusbot --volume /Users/pascal/Sinusbot/data:/sinusbot/data --volume /Users/pascal/Sinusbot/scripts:/sinusbot/scripts -p 8087:8087 galexrt/sinusbot
The run
command uses --volume
instead of --mount
that you used.
For me both --volume
and --mount
versions work, but I'm on linux/amd64
for client and server.
from docker-sinusbot.
Thank you for your answer!
The output of running the container is the same as before.
This is the output of docker pull:
latest: Pulling from galexrt/sinusbot
Digest: sha256:9aa42539b4bca802ad10c234d30b4afe4967d9b6b01e910fa8747aae015236b1
Status: Image is up to date for galexrt/sinusbot:latest
Could it be that user groups / ids are not preserved correctly when mounting from my mac to the linux container?
from docker-sinusbot.
docker4mac is a slightly difference case since it does map UID/GID into the UID/GID that the container process was started with.
Maybe this has something to do with the problem?
from docker-sinusbot.
@P4sca1 The moby/moby issue you posted, could potentially be the problem.
From what I understand you need to start/run docker4mac as root as currently root user is used for the initial start script of Sinusbot.
But if I hopefully find the time I will look into dropping root user usage on the weekend. This may fix your issue.
from docker-sinusbot.
@galexrt Running the docker container as root does not fix the issue, same error like before. Aren't the scripts already copied as the sinusbot user?
from docker-sinusbot.
I have modified the image to directly use the sinusbot user created inside the image.
The "only" requirement is to have the data and scripts directory on the host (when used) chown
ed to 3000
.
Please repull the image and let me know if that fixes the issue for your.
Also the README.md
has been updated with more info on data persistence (with example chown commands, etc).
from docker-sinusbot.
I pulled the newest image and started the container, but I still have the same issue. The directories are chown
ed to 3000:3000
.
from docker-sinusbot.
I was able to start the container when setting the ownership of the mounted folders to the user starting the docker container. The reason why it works like this seems to be that
The osxfs driver pretends that the files are owned by the USER that the container runs as
https://stackoverflow.com/questions/43097341/docker-on-macosx-does-not-translate-file-ownership-correctly-in-volumes
from docker-sinusbot.
@P4sca1 I see. The user starting the container was your "local" user (/UID) on your Mac then? if I understand correctly.
Do you want to add this information for Mac users to the README.md
file?
from docker-sinusbot.
Related Issues (20)
- a manual update is required - exited with code 255 HOT 1
- Question: Error when assign requested IP HOT 10
- Youtube-dl slow fix HOT 6
- Instances do not start: "ERROR |SoundBckndIntf| |libpulse.so.0" HOT 17
- Config should be editable HOT 2
- sinusbot dosent open... HOT 6
- Sinusbot Youtube-DL slow HOT 4
- Config.ini not mounting HOT 11
- New connection status 0; Error 1797 for TS3 bot HOT 7
- Something wrong with bot and youtube-dl HOT 2
- Container Image is too old! HOT 1
- Docker image isnt still working HOT 3
- Error spawning instancefork/exec HOT 12
- Youtube-DL is not updating to latest version HOT 10
- Chat problems HOT 2
- !yt command not working HOT 4
- feature request.. alpha branch HOT 3
- All containers suddenly restarting HOT 3
- [Bug] No connection to ts3 possible: " |libpulse.so.0: cannot open shared object file" HOT 8
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 docker-sinusbot.