Comments (6)
you should be able to mount any directory you want, as long you mount it to /opt/docker-compose-projects so the command you ran is correct
could you pleasa tell me what is the output of
docker exec docker-compose-ui ls -l /opt/docker-compose-projects/
from docker-compose-ui.
/Users/mkmani/datalabapi/kafkalab0 (folder i need to mount to Container)
LM-SJN-00873037:kafkalab0 mkmani$ ls -tlra
total 8
-rw-r--r-- 1 mkmani 100046058 289 Aug 7 16:24 docker-compose-single-broker.yml
drwxr-xr-x 8 mkmani 100046058 272 Aug 7 19:37 ..
drwxr-xr-x 3 mkmani 100046058 102 Aug 7 19:37 .
the output of docker exec docker-compose-ui ls -l /opt/docker-compose-projects/
LM-SJN-00873037:~ mkmani$ docker exec docker-compose-ui ls -l /opt/docker-compose-projects/
total 4
-rw-r--r-- 1 1000 staff 289 Aug 7 23:24 docker-compose-single-broker.yml
from docker-compose-ui.
error i get in the Docker UI
Projects
no projects configured, please run the container with the option
-v /home/user/docker-compose-ui/demo-projects:/opt/docker-compose-projects:ro
from docker-compose-ui.
WebServer running in DockerContainer
LM-SJN-00873037:kafkalab0 mkmani$ docker run --name docker-compose-ui -p 5000:5000 -v /Users/mkmani/datalabapi/kafkalab0:/opt/docker-compose-projects:ro -v /var/run/docker.sock:/var/run/docker.sock francescou/docker-compose-ui
DEBUG:root:{}
INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
INFO:werkzeug: * Restarting with stat
DEBUG:root:{}
from docker-compose-ui.
I guess I fixed it need to rename the .yml file from docker-compose-single-broker.yml to docker-compose.yml
from docker-compose-ui.
yes you're right, as you can see only docker-compose.yml are listed as projects: https://github.com/francescou/docker-compose-ui/blob/master/scripts/find_yml.py#L14
if you want to manage more docker-compose.yml files I suggest you to put them in different folder and give each folder a meaningful name for the project, (like I did for demo projects: https://github.com/francescou/docker-compose-ui/tree/master/demo-projects
from docker-compose-ui.
Related Issues (20)
- How to access private Git repo? HOT 2
- Multiple Docker Engines HOT 1
- Question - Is this project right for me? HOT 2
- Problem with same name of parent directory HOT 1
- Add support for .yaml HOT 3
- Doesn't work on Red Hat Enterprise Linux Server 7.4 HOT 2
- Services: no containers found HOT 3
- [Enhancement] Edit docker-compose file for existing services HOT 7
- State of project not recognised if a folder has a hypenated name
- Very useful tool HOT 1
- docker-compose 3.7 HOT 2
- Bring specific container down that was started with scale
- Display service version
- Nested docker-compose.yml
- permissions security vulnerability HOT 1
- Project website URL on GitHub project doesn't work HOT 4
- HTTPS support?
- Support for armv7l
- Is the docker-compose-ui project dead? HOT 2
- python 3.9 support
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-compose-ui.