You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ docker info
Containers: 219
Images: 137
Storage Driver: devicemapper
Pool Name: docker-8:3-37885375-pool
Pool Blocksize: 65.54 kB
Data file: /var/lib/docker/devicemapper/devicemapper/data
Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 71.56 GB
Data Space Total: 107.4 GB
Metadata Space Used: 62.71 MB
Metadata Space Total: 2.147 GB
Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Kernel Version: 3.16.0-0.bpo.4-amd64
Operating System: Debian GNU/Linux 7 (wheezy)
CPUs: 24
Total Memory: 378.6 GiB
Name: xxx
ID: xxx
WARNING: No memory limit support
WARNING: No swap limit support
if I login to container and run service elasticsearch status/start/stop, its woking fine:
❯ sudo service elasticsearch status
/etc/init.d/elasticsearch: line 120: ruby: command not found
(23) Failed writing body
elasticsearch running with PID 7422
/ root@6be5c3c8e14d
❯ sudo service elasticsearch stop
Stopping elasticsearch......................................
/ root@6be5c3c8e14d 34s
❯ sudo service elasticsearch status
elasticsearch not running
/ root@6be5c3c8e14d
❯ sudo service elasticsearch start
PID file found in /usr/local/var/run/elasticsearch_dev_ubuntu_1404.pid
Starting Elasticsearch... [OK]
/ root@6be5c3c8e14d
❯ sudo service elasticsearch status
/etc/init.d/elasticsearch: line 120: ruby: command not found
elasticsearch running with PID 8184
but not service elasticsearch restart:
/ root@6be5c3c8e14d
❯ /etc/init.d/elasticsearch restart
Stopping elasticsearch..................................PID file found in /usr/local/var/run/elasticsearch_dev_ubuntu_1404.pid
PID 8681 still alive, Elasticsearch already running...
/ root@6be5c3c8e14d 2m 0s
❯
/ root@6be5c3c8e14d
❯ /etc/init.d/elasticsearch status
/etc/init.d/elasticsearch: line 120: ruby: command not found
elasticsearch running with PID 8681
/etc/init.d/elasticsearch: line 143: [: 8681: unary operator expected
The text was updated successfully, but these errors were encountered:
Hello! We've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version; it should also be much easier to run with test-kitchen and kitchen-docker (or under CI). Hope this helps!
I try to run this cookbook on docker container with no luck:
kitchen config:
chef attributes:
docker info:
if I login to container and run
service elasticsearch status/start/stop
, its woking fine:but not
service elasticsearch restart
:The text was updated successfully, but these errors were encountered: