Using Github Project in Docker - docker

I'm working on face detection project and trying to use this github project.
But the issue is I'm using windows system and have difficulties installing modules used in this project. I can use a VM, install linux and use it. But can I use docker to call the project from github and work with it? If yes, how to do it? I tried to read about it, but hardly got any materials.
Thank you!

Related

Chaincode docker devmode cli error

I am using the tutorial Chaincode for Developers and I am getting an error while running "docker-compose-simple.yaml" file.
Does anyone know how to solve this issue?
Have you checked the instructions mentioned in Hyperledger Fabric Samples like
If you are using Docker for Mac, you will need to use a location under /Users, /Volumes, /private, or /tmp. To use a different location, please consult the Docker documentation for file sharing.
I had some problem when I was using different directory.
The error occurs because you are using the latest version of Fabric (I assume that because you are reading the latest fabric.docs).
Clone the 1.0.0-beta version, follow the instructions on 1.0.0-beta fabric docs and you'll be ok.

How to Create a custom opencv buildpack for heroku

Yes, I am aware of the fact that there are many compiled libraries available but currently, none of them are working properly. Also, the lack of proper guides which chalk out the steps for creating OpenCV buildpacks(or any buildpack for that fact of matter but more specifically opencv's buildpack) have lead me to post this question here. How to create custom a opencv buildpack? I want to make the compiled library from scratch and host it.
Again, emphasizing on the fact that I DON'T want to use the existing ones due to the problems in each of them. It would be awesome if someone could post a link to some guide or could give the steps to build one here itself. It would be very helpful for the poor souls who want to BUILD a custom buildpack on their own.
I managed to create a custom OpenCV buildpack using Docker. Then I deployed it on Heroku using Heroku Container Registry.
Here is the GitHub link for the repository which I created containing the Dockerfile used to install OpenCV and other libraries: https://github.com/hulkinBrain/docker-opencv2
Also here is the Docker hub link for the same: https://hub.docker.com/r/hulkinbrain/docker-opencv2/

Making use of docker for development: a use case

my question is little vague but I tried looking for the answer here and there but could not understand if I can leverage docker for my work. My requirements
I usually try different versions of java, python and other software like different versions of eclipse, Linux package and other tools. This at the end make my Ubuntu installation a complete mess and some time completely broken. Then I started using Vm it solve most of the problem but make my pc very slow for frequent switching.
So my question can I achieve my work using docker without affecting my os? Can I run gui application, install different package without affecting underlying OS.
Switch actively between different docker container and underlying os.
Clean/remove unused/broken install of docker instance (containers?) etc. Any pointer to similar use case or how to would be helpful.
Thanks.
Ps- if it doesn't fit for SO then please move it to where it is best fitted. Sorry for non programming question.
Can it be done?
yes, there are examples of docker images that run graphical application, but running those containers might be a bit tricky. See for instance Can you run GUI apps in a docker container?
Is Docker the right tool for your problem ?
Maybe a package manager such as Nix would be better suited, as graphical software installed with it won't have any issue. With Nix you can install side-by-side many versions of a single software without interference.

Micro Cloud Foundry microconsole startup

So ive been looking through the init.d scripts and the bashrc file and cannot find where the microconsole binary is started on initial login. Can anyone tell me where it is?
Also, does MCF support running two microconsole instances at a time? My IaaS provider only supports SSH.
I am not entirely sure what you are trying to achieve here. Your trying to host MCF with an IaaS provider? like EC2 for example? If this is the case, I would recommend installing VCAP, MCF is not kept as up to date as the VCAP project.
It's pretty straight forward to install on Ubuntu 10.04, there are instructions on the Github project page, here ... https://github.com/cloudfoundry/vcap

what could be a deployment strategy with pubspec on dart

What would be the best way to actually deploy dart code that has pubspec.yaml dependencies? A common thing I've done in the past was to create demos and deploy to github pages. Now that pub uses symbolic links the dependencies do not get pushed to github. Also wondering if this should be a bug to file for pub, being able to deploy with dependencies.
We aren't there yet, but pub will in the future support a deploy command. That will do things like run dart2js and concatenate/minify your code. It will also physically bring in all of your dependencies so you don't have symlinks. The end result will be a single directory that contains everything your package needs to run.
I think you have three options:
If you already have a server-side technology and a deployment strategy, use that.
If you're just deploying static stuff, I wonder if Google App Engine would work with these symlinks.
Heroku supports Dart, although I'm not sure how it supports symlinks.
You can deploy your Dart application on Heroku cloud hosting. There is a step-by-step tutorial here.
It works nice.

Resources