-
Notifications
You must be signed in to change notification settings - Fork 150
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
Make the "shell" action to start the dockerRunScript.sh
script using a terminal application
#55
Comments
Hi Eckhard, I believe this happens because XCode in your setup is associated with opening/editing I'm also open to ideas about how to explicitly spawn terminal apps with the script but it would probably require some OS and apps detection. |
Hi, |
Eckhard, We simply execute the script with whatever program is associated to it, which obviously changes from OS to OS. If you're able to make the change in your OS config to associate As a more permanent solution though, I suggest we attempt to detect the OS and run the |
dockerRunScript.sh
in editor (MacOs)dockerRunScript.sh
script using a terminal application
Closing due to inactivity, but will be happy to receive PRs on this in the future! |
Expected Behavior
pressing 'L' should open a login shell to the selected container
Actual Behavior
The file
dockerRunScript.sh
is opened in a text editir (XCode)Steps to Re-produce the Problem
start dockly
press 'l'
dockerRunScript.sh
opens in XCodeContext
node --version
): 8.10.0docker --version
): 18.03.0-ce, build 0520e24/var/run/docker.sock
? yesdocker info
:Containers: 3
Running: 2
Paused: 0
Stopped: 1
Images: 44
Server Version: 18.03.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfd04396dc68220d1cecbe686a6cc3aa5ce3667c
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.87-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: YWTZ:UZVV:RABG:5NRK:C2AC:Q2CR:QT5N:GXYT:7FCX:PWED:CHTF:MWMK
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 35
Goroutines: 53
System Time: 2018-04-17T21:55:18.3367154Z
EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
The text was updated successfully, but these errors were encountered: