Csrf token issue with scaling

I have scaled my application to 3 different servers that use common mysql and redis service. Than I have set session and cache driver to my redis (they are working fine). But I still get token mismatch error. Did anyone solve this problem without tur...
more »

2017-10-04 16:10 (1) Answers

How to set host of service in Docker?

I'm trying to test my application on TeamCity docker agent. Application is running internal docker in gradle. Here's my docker-compose.yml: version: '3' services: db: image: docker.int.address.com/postgres:9.6 ports: - 54...
more »

2017-09-25 16:09 (1) Answers

Can't reach stdout from Docker using Go client

I have a small project in which my go server copies the C files send by http into Docker containers, where they are compiled and run. However, I am not able to obtain any data send to stdout in the container. I have determined that file is sent into...
more »

2017-09-18 19:09 (1) Answers

Can't pull private Docker hub repo

Initially I couldn't do this because I realised I didn't have the correct permissions for my Docker hub user. After fixing the permissions I was able to see the repo in the web UI. However when doing a docker pull I'm getting the following error: ...
more »

2017-09-15 06:09 (2) Answers

Microservice security with AWS

I've got an ECS cluster where I have a couple of services running. All of them have their own load balancer so for every service I have a URL like http://my-service-1234554321.eu-west-1.elb.amazonaws.com. But I would like to open only one service of ...
more »

2017-09-13 13:09 (2) Answers

IIS and .NET with Docker on Mac

Scenario: We are a team of 10 persons developing on both Mac and Windows. Our project uses NodeJS, .NET Framework 4.5, TSQL and IIS Server. To make our app cross platform we use Vagrant to setup Windows. Problem: It seems we are using a lot of time ...
more »

2017-09-11 16:09 (1) Answers

`cp` vs `rsync` vs something faster

I am using Docker and Docker cannot COPY symlinked files into the image. But the files that are symlinked are not in the 'build context'. So I was going to copy them into the build context with cp, but that's really slow. Is there some way to share t...
more »

2017-09-09 23:09 (1) Answers

Security restrictions when building dockerfile

The company where I work (strictly regulated/audited environment) is yet to embrace containers but would like to adopt them for some applications. There is the view that as the image build process issues commands as root (or could be overridden by t...
more »

2017-09-05 13:09 (2) Answers

Docker multiple sites on different ports

Right now, I have a single static site running in a docker container, being served on port 80. This plays nicely, since 80 is the default for public traffic. So in my /etc/hosts file I can add an entry like like example.dev and navigating ...
more »

2017-09-04 17:09 (2) Answers

JVM Optimizations for Docker and DC/OS

I'm moving a bare metal java application (jar jdk8) to docker containers and DC/OS. I am noticing an odd pattern on the dockers, we set -XMX to 32 gig and allocate a 36 gig docker container. Every few hours or so the application will spike in old gen...
more »

2017-09-02 17:09 (2) Answers

Gradle tasks hangs after starting HttpFileServer

I am trying to build a Docker image where in the Dockerfile I would like to pull the files using a file server instead of using the ADD directive(to not create a layer). So in my Gradle script itself, I ran the server like this: SimpleHttpFileServer...
more »

2017-09-01 00:09 (0) Answers

How to security scan docker images?

I'm aware of tools like Clair, Open SCAP etc, which appear to do security scanning of container images based on what software libraries are installed and comparing these to CVE databases. A developer user could obviously undo the good work of previo...
more »

2017-08-30 13:08 (1) Answers

docker build not using cache

docker build is not using it's cache. docker build -f Dockerfile . generates the same output that this does: docker build -f Dockerfile --no-cache . I am modifying the Dockerfile, adding commands at the end of the file. So the previous layers ...
more »

2017-08-29 02:08 (1) Answers

Docker for Mac X11 Forwarding

I am using trying to SSH into a docker container using Docker for Mac and pass the display using X11 Forwarding. I get a MIT-COOKIE-1 untrusted timeout 1260 error Container is running linux - CentOS7 ...
more »

2017-08-27 20:08 (0) Answers

Secure distributed container system for docker

I want to know if exist a secure distributed container system for docker. I want to deploy encrypted container from master server (Private) and executed into a worker public server (Unsafe). Do you know solution able to do that ? Thank you in advanc...
more »

2017-08-25 16:08 (1) Answers

Docker volume with Grunt file watch

I'm porting an existing project with Grunt file watches to a Docker development container. The source files are bind-mounted into the container, and Grunt watches the files for changes (this can probably be optimized, but my current concern is: simpl...
more »

2017-08-17 16:08 (1) Answers

Running docker run as a separate user on OSX

I'm trying to make docker work for both my local user and a service user called daemon at the same time. Docker is working fine right now for my local user. On linux, you'd add daemon to the dockers group which doesn't exist (literally as well as as...
more »

2017-08-17 01:08 (0) Answers