Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

edit docker container files with OS X Sublime Text

Just started using docker on OS X for development. vimis convenient but I want to get back to Sublime Text 2.

How do I fire up Sublime Text 2 on OS X and have it edit the files on my docker container?

Using latest docker ver 1.0 on OS X. VM installed via boot2docker.

like image 684
Daniel May Avatar asked Jun 14 '14 00:06

Daniel May


2 Answers

Update

Docker 1.3 supports shared folders as per my original question:

https://blog.docker.com/2014/10/docker-1-3-signed-images-process-injection-security-options-mac-shared-directories/

like image 64
Daniel May Avatar answered Oct 19 '22 10:10

Daniel May


Currently boot2docker image doesn't support share folders. You can download boot2docker-v1.0.0-virtualbox-guest-additions and save it to ~/.boot2docker/boot2docker.iso.

Longer article about how it works: boot2docker together with VirtualBox Guest Additions.

like image 43
daniula Avatar answered Oct 19 '22 11:10

daniula