Comments (7)
Hi Iknoor,
In the docker.dev.yml file
runs the start.sh
script. This script executes a last command (tail -f /dev/null
) that leaves the Docker instance "hanging" so you can connect to it.
Translation:
- Run
docker-compose -f docker.dev.yml up
in one tab of the terminal and leave it open. - Run
docker exec -ti train-ocr bash
in another tab of the terminal (you'll enter the container) and that's where you can execute the following instructions.
Certainly, there could be cleaner ways to do this but it does the trick!
Please, let me know if you need more details!
from train-tesseract.
Hi @guiem
Thank you so much for your prompt response.
This is exactly what I am trying to do by running docker exec -ti train-ocr bash
in another tab. But it keeps on showing this error even if I am running this command from the repo directory.
Error: Error response from daemon: No such container: train-ocr
Any idea what might be the possible reasons?
Thanks
Iknoor
from train-tesseract.
It is really hard to know without more specific information.
Did you make sure to observe that step 1 (docker-compose -f docker.dev.yml up
) runs smoothly and you don't get any error messages? That's the first thing I would check.
I'll try to rebuild everything from scratch though, to verify that all works as expected.
from train-tesseract.
Yes it runs smoothly till the end when it says Running hooks in /etc/ca-certificates/update.d... done.
, except there is one message in red in the start that tells debconf: delaying package configuration, since apt-utils is not installed
It seems that it's not able to find the container name "train-ocr".
from train-tesseract.
Hi @guiem
Sorry, there was an issue with my server, the code is ok. Thanks for your time.
Iknoor
from train-tesseract.
I'm glad you could solve it, @iknoorjobs !!!
from train-tesseract.
Yes, and thanks for the awesome work. :)
from train-tesseract.
Related Issues (4)
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 train-tesseract.