Trying to create docker image and getting following error [closed] - docker

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
There are two project in the same solution One is Api project and another one is .net core project and I am trying to ship both the to docker, I am doing this by docker-compose up -d and getting following error
Error log

It looks like your Docker container can't form a secure SSL connection to install the Nuget packages because you haven't installed your CA certificate on the container.
You can create your own certificate using Docker's tutorial here.
Installing this will then depend on the OS or your base image. You can find instructions for installing certificates on different Linux OS's here. You'll just have to move the required commands into your Dockerfile before running the nuget restore.

Related

How to install spyder3 on ubuntu 16.04 docker container [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to build an docker image based on Ubuntu 16.04. Is it possible to install and use spyder3 on this image?
What I have done so far...
Added a normal user on Ubuntu 16.04(base image)
Installed python3.6.4
Installed spyder3
and I get this error:
genie#667b3f2734a1:~$ spyder3
Spyder: cannot connect to X server :0.0
Any assistance would be much appreciated :)
(Spyder maintainer here) Spyder is a desktop application, so it needs an X server running on Linux for it to work. So you need to add python3-pyqt5 to your docker image, which should bring Xorg and all its dependencies with it. Then you need to start the server with startx.

open source docker Image vulnerability and security scanner for images hosted on a private docker registry [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
We have a private docker registry (Sonatype nexus) which holds all our private docker images. I was looking for an open source vulnerability and security scanner for scanning all the images on the private registry also I want to install the tool on the linux box and also integrate with Jenkins.
I came across Twistlock, Anchore, Dagda. None of these seems to provide a tool which can be installed and used without any license.
Any inputs?
You can use Clair:
https://github.com/coreos/clair
Simply follow the instruction:
https://github.com/arminc/clair-scanner#run
replace the date on the clair-db image with either latest or a specific date from
https://hub.docker.com/r/arminc/clair-db/tags/
you can get the scanner binaries here:
https://github.com/arminc/clair-scanner/releases
I too would say to use CoreOS Clair for this purpose. However a few things to consider,
How you gonna run Clair i.e. As Docker compose or in your kube cluster?
Clair provides Static Scanning only (only the container image, not the running container)
What sort of integration tools you are using?
If you thinking to integrate with your CI/CD pipelines, the best Clair client I can recommend is Klar because it is much simple and straightforward to use. clairctl can also be used but it gives some hard time when troubleshooting with permission errors.

Is it a good idea to dockerize all dependent services for a java program as one docker container [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm a java programmer .I have a java program that depends on Cassandra,elastic search,mongdb and Kafka .. So every time I try to run my java application I have to bring all these services up .. So you think it's a good idea to create one docker container with all these services and have that docker file checked in as part of that java project ?
While you can bundle all the dependencies for the application into the image it doesn't quite make sense, especially if those components might be run in different places for different environments.
This is precisely what the Compose project (originally fig) set out to solve. Along with the Dockerfile for the application, you would have a docker-compose.yml file that describes the services and how they link to each other. It also has options to set the build location of your application so that you can build and bring up the application with just the docker-compose utility.

Is there any issue while developing rails app with Ubuntu OS and Deploying using Windows or vice versa? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
My case is like I want work already deployed application to Windows and I wanna work in my local system with Ubuntu so there is any problem doing so.
welcome and thanks any one who can give details Answer on this question.
It's a wide question, I can tell you what works for me, if it helps.
I develop on windows 8.1, and deploy to Ubuntu.
I use Capistrano 3 and a private git repository.
Deploying to Nginx, passenger and MariaDB.
Ubuntu is setup with a deploy user, and a local rvm.
Latest Ruby and Rails.
mysql2 compilation takes a little work on windows, and then bundle install on production breaks. as the Gemfile.lock is set to the windows version, I have to use the --no-deployment option when bundle installing. Some folks do something a bit more clever.
I have not gotten ssh agent forwarding working, so I have a private key for my deploy user on the production machine, without password, to fetch (in Capistrano 2 I used deploy :copy). I haven't really tried to fix it to be fair.
There are plenty of answers to these issues on stack overflow. I can't think of anything else that really hurt. No show stoppers so far.

Jenkins why to start tomcat [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
What does this command actually do in jenkins build?
Windows Batch Command:
start bash ./startTomcat.sh
I see many xml files in tomcat folder after the build is over and the build fails....
There are multiple issues here:
You are not supposed to start tomcat from within a Jenkins-job
(see also here Process leaked file descriptors error on JENKINS).
Tomcat is started as a unix command, while you try to run it from a Windows command - this will never work.

Resources