Skip to content

Document Default Linux Capabilities the Docker Service Containers Are Assigned #4751

@JacobSanford

Description

@JacobSanford

Greetings,

Has anyone had luck launching the 'official' mysql docker image with the new docker service? It appears to fail when the container tries to execute the ‘kill’ binary to restart after initial provisioning:

https://github.com/docker-library/mysql/blob/master/5.7/docker-entrypoint.sh#L87

.travis.yml:

sudo: required

language: ruby

services:
  - docker

before_install:
- docker pull mysql

script:
- docker run -e "MYSQL_ROOT_PASSWORD=123" --rm mysql

Output:

[...]
2015-09-04 14:45:39 62 [Note] Event Scheduler: Loaded 0 events
2015-09-04 14:45:39 62 [Note] mysqld: ready for connections.
Version: '5.6.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
2015-09-04 14:45:41 62 [Warning] 'proxies_priv' entry '@ root@2a6b869b59c1' ignored in --skip-name-resolve mode.

/entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
/entrypoint.sh: line 88: kill: (62) - Permission denied
MySQL init process failed.

full log
test repo
travis build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions