Comments (6)
What version of trains-server are you running?
Also, try running netstat -natp
to see if your apiserver is actually listening on port8008
.
from clearml-server.
Version of trains-server:
latest: Pulling from allegroai/trains
Digest: sha256:2f5112c25b4ae95bc4ef49f8f0bfe76f4fc93709a3d64f1defbb0c5e9e427130
Status: Image is up to date for allegroai/trains:latest
So under osx the command looks a bit different. Testing for the webserver, which I can reach:
lsof -nP -i4TCP:8080 | grep LISTEN ~/tmp
com.docke xxxx xxxx 22u xxxx 0t0 TCP *:8080 (LISTEN)
The same thing for 8008 comes up empty. So the apiserver is not listening. How should it do that?
If I compare the two docker commands (see README.md) for the webserver and for the apiserver, the one for the webserver has a port command, but the one for the apiserver not:
sudo docker run -d --restart="always" --name="trains-webserver" -p 8080:80 allegroai/trains:latest webserver
sudo docker run -d --restart="always" --name="trains-apiserver" --network="host" -v /opt/trains/logs:/var/log/trains -v /opt/trains/config:/opt/trains/config allegroai/trains:latest apiserver
Should --network="host"
take care of it?
from clearml-server.
Could the problem be here, that --network
is not working on osx? This thread seems to suggest that: https://forums.docker.com/t/should-docker-run-net-host-work/14215/2
from clearml-server.
Looks like you're right... Let me check and get back to you.
from clearml-server.
@osdf we managed to get trains-server up and running on OS X (latest version, but should work on any version with proper docker support)
Instructions:
- configure docker
$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
sysctl -w vm.max_map_count=262144
- create local directories for DB & storage
$ sudo mkdir -p /opt/trains/data/elastic
$ sudo mkdir -p /opt/trains/data/mongo/db
$ sudo mkdir -p /opt/trains/data/mongo/configdb
$ sudo mkdir -p /opt/trains/logs
$ sudo mkdir -p /opt/trains/data/fileserver
$ sudo chown -R $(whoami):staff /opt/trains
-
Open the Docker app, select preferences, go to file-sharing tab and add /mnt/fileserver & /opt/trains
-
Clone the trains-server repository
$ git clone https://github.com/allegroai/trains-server.git
$ cd trains-server
- run docker-compose with the unified docker
Note: This is the only command you will have to executed again, after rebooting your machine
$ HOSTIP=$(ipconfig getifaddr en0) docker-compose -f docker-compose-unified.yml up
You should now have a server running on http://localhost:8080 🤞
from clearml-server.
Thank you a lot for the help, it works!
from clearml-server.
Related Issues (20)
- Could not find host server definition HOT 5
- Feature Request: Get server configuration parameters from AWS Secrets Manager [security]
- [Customising web-ui] - Projects are loading tasks in web ui of self hosting server but i want them to show datasets HOT 3
- generating clearml-reports HOT 13
- How to write artifacts to S3 from server side? HOT 1
- Nginx Not Loading Plotly.js Resource: ClearML Self-Hosted Docker HOT 7
- Failed Navigate From Overview to Experiments Details HOT 4
- Async Delete Always Failed when Removing Experiments (using Minio)
- nginx 0.6.x < 1.20.1 1-Byte Memory Overwrite RCE vulnerability HOT 2
- ElasticSearch UI and Redis UI? HOT 2
- The problem with scalars HOT 12
- Curl 7.69 < 8.4.0 Heap Buffer Overflow vulnerability HOT 2
- OpenSSL 1.1.1 < 1.1.1x Vulnerability HOT 1
- Elasticsearch image tag 7.17 does not exist HOT 4
- Git package is not installed by default in node:20-bookworm-slim HOT 1
- SERVER UNAVAILABLE HOT 4
- APP Credentials disapper in webapp HOT 20
- Scalar graphs legend is too narrow for experiments with long names HOT 7
- Update from 1.14.1 to 1.15.0 leads to several fatal issues when booting HOT 3
- AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. HOT 3
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 clearml-server.