2018-10-22         Verna

Dockerized Dotnet Core 2.1 throws Gdip exception when using Select.HtmlToPdf.NetCore

I am using Select.HtmlToPdf.NetCore(18.3.0) to convert Html to pdf in Dotnetcore 2.1. It is perfectly working in local environment but when hosted with Docker it throws an error saying, {"fileName":"System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl: cannot open shared object file: No such file or directory\n at Interop.Libdl.dl...

 docker                     1 answers                     56 view
 2018-10-22         Veronica

what does the docker daemon option --selinux-enabled do

I guess it will label the containers it started, but from the output of ps -eZ, I don't see any difference.For example, the container etcd has the same domain, no matter the daemon is with and without this option:system_u:system_r:container_runtime_t:s0 16212 ? 00:00:00 dnsmasq-nannyBut it does prevent my container(k8s-dns-dnsmasq-nanny-amd64:1.14.8) from starting up and the deny logs shows access to /etc/localtime and /usr/sbin/dnsmasq are denied. I think these are files inside container filesystem. How can I write SELinux policy to allow access inside container file syste...

 docker                     1 answers                     44 view
 2018-10-22         Eunice

Can't Unzip Files in Docker VM (Boot2Docker) / Windows 7 / CRC Error

Moin moin,I'm unable to unzip files like eclipse.tar.gz with e.g gunzip.Neither in DockerFiles with ADD url nore when I use wget on the File.$ wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/1a/eclipse-jee-neon-1a-linux-gtk.tar.gz&mirror_id=96 $ gunzip eclipse-jee-neon-1a-linux-gtk.tar.gzI always get a CRC error. When I unzip the File with Windows there is no CRC error. They have the same CRC and the same MD5sum. I already changed the baseimage (debian/ubuntu), I used tar/gunzip and it happens when I build the images and wh...

 docker                     1 answers                     103 view
 2018-10-22         Ron

Drupal - how to find module names for Drush install?

I have a Drupal installation within a Docker container. I need to install and enable a bunch of modules for which I can use container require drupal/<modulename> followed by drush en <modulename> -y and it works. Now there are a few modules that I'm not sure of the the Drush name for. For instance Automated Logout - I did a perfunctory search on the Drupal modules page and it pointed me to https://www.drupal.org/project/autologout - should I use this project name of autologout for the Drush install? Also, is this the standard way to go about installing my requir...

 docker                     1 answers                     50 view
 2018-10-22         Moore

Unable to run official drupal 7.59-fpm image

I run the command docker run --name some-drupal -p 9000:9000 -d drupal:7.59-fpm but I see an empty website when I run whereas running docker run --name some-drupal1 -p 8080:80 -d drupal works. Where did I go wrong? I got it working with fpm. Just pay attention to nginx config (it's at host machine in my case). I added this line to config: fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; [XXX]

 docker                     1 answers                     59 view
 2018-10-22         Hardy

Gitlab in Docker: postgresql not accepting connection

I'm trying to create a very simple Gitlab instance with docker. I have this docker-compose.yml file (mostly straight out of the documentation) :gitlab: image: gitlab/gitlab-ce:latest restart: always hostname: gitlab.${DOMAIN} ports: - 8081:8081 environment: - VIRTUAL_HOST=gitlab.${DOMAIN} - VIRTUAL_PORT=8081 volumes: - ${DATA_PATH}/gitlab/config:/etc/gitlab - ${DATA_PATH}/gitlab/logs:/var/log/gitlab - ${DATA_PATH}/gitlab/data:/var/opt/gitlabThe problem is that whenever i try to up this image, i get an error:PG::Con...

 docker                     1 answers                     67 view
 2018-10-22         Dwight

How to setup GitLab CE CI to user docker images for runners

I've now tried for several days to get a runner working on a docker container. I have a Debian running system with GitLab, gitlab-runner and docker installed. I want to use docker as a container for my runners, because shell executors are installing all things on my CI maschine...What I have done until now: I installed docker like it is described in the GitLab CE docs and run this command:gitlab-runner register -n \ --url DOMAIN \ --registration-token TOKEN \ --executor docker \ --description "docker-builder" \ --docker-image "gliderlabs/alpine" \ --docker-privilegedt...

 docker                     1 answers                     76 view
 2018-10-22         Agatha

traefik permissions 777 for acme.json are too open, please use 600

Yes, I get this when I try to run traefik with https. Problem is I mount the dir on my Win7 machine but I cant chmod the file.The mount is working but file permissions are off.looks like this:volumes - d:/docker/traefikcompose/acme/acme.json:/etc/traefik/acme/acme.json:rw traefik | time="2018-09-04T12:57:11Z" level=error msg="Error starting provider *acme.Provider: unable to get ACME account : permissions 777 for /etc/traefik/acme/acme.json are too open, please use 600"If I remove the acme.json file I get this: ERROR: for traefik Cannot start service traefik: b'OC...

 docker                     1 answers                     102 view
 2018-10-22         Greg

Docker /bin/sh: 1: : not found miniconda3

When I try to build the following Dockerfile with the command line docker build -t my-image-name .FROM continuumio/miniconda3EXPOSE 8880# Set working directoryWORKDIR /my-workingdir# Add scripts to docker workdirADD Dockerfile .ADD environment.yml .ADD all-my-python-files.py .# Update & installation of linux packagesRUN apt-get update -y && \    apt-get install -y libgl1-mesa-glx apt-utils && \ apt-get install -y openssh-server && \ apt-get install -y net-tools# Conda update and creation of environmentRUN conda update conda \ && ...

 docker                     1 answers                     26 view
 2018-10-22         Franklin

How to use the same nginx.conf file for reverse proxy for docker-compose and kubernetes

in Kube, i have one pod with two containers* container 1: nginx reverse proxy* container 2: myappfor testing purpose, i also has a docker compose file, include the two services* service 1 nginx reverse proxy* service 2: myappthe issue is, in docker, the nginx upstream host is in the format of container name. In Kube, it is localhost.Here is a code snipt://for docker, nginx.conf... upstream web{ server myapp:8080; }.... proxy_pass http://web;//for Kube, nginx.conf ... upstream web{ server localhost:8080; } .... p...

 docker                     2 answers                     61 view
 2018-10-22         Jacqueline

groovy.lang.MissingPropertyException in Jenkins declarative pipeline

I have installed Jenkins on Docker and created a declarative pipeline from SCM. The Jenkinsfile is placed on Github and has following code:pipeline { agent any stages { stage('Build') { steps { echo 'Building..' } } stage('Test') { steps { echo 'Testing..' } } stage('Deploy') { steps { echo 'Deploying....' } } }}Now whenever I build the Jenkins job I get the following errorRunning in Durability level: MAX_SURVIVABI...

 docker                     1 answers                     30 view
 2018-10-22         Augus

How to collect metrics (CPU, Memory, I/O) from docker cluster node container's?

I have a manger node and two workers node connected via docker swarm.When i use docker API "https://docs.docker.com/engine/api/v1.37/" i can able to get (monitor) current node (manager node) container metrics like (CPU, memory uasge and I/O bytes), but i couldn't get container or service metrics from worker nodes. But i can get nodes details.Is there any way to get (monitor) workers node container details from manager node? Deploy cAdvisor in every node (deploy global). See an example of how to view data in Kibana: https://blog.codeship.com/monitoring-docker-containers-w...

 docker                     1 answers                     96 view
 2018-10-22         Arno

Docker query on containerizing

our requirement is to create a container for legacy apps over docker.we dont have the operating system support/application server support available, nor do we have knowledge to build them from scratch.but we have a physical instance of the legacy app running in our Farm.we could get an ISO image from our server team if required, our question is if we get this ISO image can we export this as a docker image?if yes, please let me know if there is any specific procudure or steps associated with it.if no, please tell me why? and the possible work arounds for the same. You wil...

 docker                     2 answers                     98 view
 2018-10-22         Marshall

Will my windows container work on linux worker node in swarm?

Appreciate an expert advise. We have a Docker EE setup on RH Linux platform.Given that we have setup Docker EE as:2 manager nodes (linux)2 worker nodes (linux)2 worker node (windows server)UCPDocker SwarmWhen I build a windows container to run a .NET console service built on .NET 4.6.2. How this container gets allocated in the swarm?Questions:How will this be able to join the swarm?Will my container be able to run on the worker nodes running Linux host OS?How docker swarm manage the fail-over of the nodes? Will the replica only gets distributed on the windows worker nodes? ...

 docker                     1 answers                     99 view
 2018-10-22         Page

Cannot conect to Docker container running in VSTS

I have a test which starts a Docker container, performs the verification (which is talking to the Apache httpd in the Docker container), and then stops the Docker container.When I run this test locally, this test runs just fine. But when it runs on hosted VSTS, thus a hosted build agent, it cannot connect to the Apache httpd in the Docker container.This is the .vsts-ci.yml file:queue: Hosted Linux Previewsteps:- script: | ./test.shThis is the test.sh shell script to reproduce the problem:#!/bin/bashset -eset -o pipefailfunction tearDown { docker stop test-apache do...

 docker                     1 answers                     82 view
 2018-10-22         Sandy

SignalR for .NET Core 2.1 in docker not working after moving project to new PC

UPDATE: SOLVED (read below)I created this project on PC1. I've been working on it for a while when I found SignalR. After implementing, and making SignalR work, I had to move to a new PC, so I saved the project folder and moved it to the new PC. I installed Docker for Windows, the .NET Core 2.1 SDK and VS. I put the project in the same folder (C:\users\xxx\source\repos). Now when I run it it works as expected, but the client (browser) doesn't react on SignalR calls from the server. Because I don't have functions being called from the client I'm not using a custom Hub. My is...

 docker                     1 answers                     88 view

Page 1 of 299  |  Show More Pages:  Top Prev Next Last