Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that custom stacks need to have a CMD that does not terminate #273

Closed
binduwavell opened this issue Feb 7, 2016 · 2 comments
Closed

Comments

@binduwavell
Copy link

Description of problem: It was not clear to me that if I setup a custom stack it needed to end with something like sleep 365d or less +f /dev/null to block the process from terminating.

The sample stack template (in the UI) did not make this clear and the error messages I received didn't help either. I ended up looking at some of your default stack templates and figured it out as this was required for codenvy runners in the past.

Che version: 4.0.0-beta-13-1
Che install directory: ~/Downloads/eclipse-che-4.0.0-beta-13-1
Docker version:

Client:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Thu Feb  4 18:18:11 2016
 OS/Arch:      darwin/amd64
Server:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Thu Feb  4 19:55:25 2016
 OS/Arch:      linux/amd64

Docker Info:

Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 4
Server Version: 1.10.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 20
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.1.17-boot2docker
Operating System: Boot2Docker 1.10.0 (TCL 6.4.1); master : b09ed60 - Thu Feb  4 20:16:08 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.956 GiB
Name: default
ID: S6GZ:TD7N:M4BZ:J6DK:RN3E:455I:YTPI:BDY4:32XR:ONHD:MGDJ:HFVC
Debug mode (server): true
 File Descriptors: 20
 Goroutines: 39
 System Time: 2016-02-07T22:56:03.470098201Z
 EventsListeners: 0
 Init SHA1:
 Init Path: /usr/local/bin/docker
 Docker Root Dir: /mnt/sda1/var/lib/docker
Username: binduwavell
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox

Java version: N/A I'm using che.sh run -i (so whatever you have in your container)
Environment details (AWS, VirtualBox, physical, etc.): I'm on my mac using the default dockertoolbox 0.10 and default che 4.0.0-beta-13-1.

@ghost
Copy link

ghost commented Feb 8, 2016

@ghost ghost closed this as completed Feb 8, 2016
@binduwavell
Copy link
Author

Awesome, thanks! Would help if the example text when creating a custom stack expected lined this :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant