We’re trying to get a Docker based build environment up and running, but I’m having trouble running anything via
docker exec, as I’m just getting exit code 255 on all commands, and an error message that I don’t really understand:
open /proc/self/oom_score_adj: no such file or directory
We’re running Docker 1.10.0 and Docker Compose 1.6.2. My circle.yml file is pretty simple:
machine: pre: - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 services: - docker dependencies: override: - sudo pip install docker-compose - sudo service mysql stop - docker-compose -p rwb -f docker/docker-compose.yml up -d - docker exec rwb_db_1 apt-cache policy mysql-server
And the docker-compose.yml file is pretty simple too:
version: '2' services: db: image: mysql:5.7.10 ports: - 3306:3306 volumes: - ..:/data environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: my_database MYSQL_USER: admin MYSQL_PASSWORD: password
I know that the support for these versions of Docker and Docker Compose is not yet official, but I’m hoping that someone can help me get it working. Does anyone have any insights as to why I’m getting this error?