ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

vm​4docker

by yvess MacLinux ALL

automatic file touch on OS X for docker vm

Details

Installs

  • Total 413
  • Win 0
  • Mac 316
  • Linux 97
Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-vm4docker

automatic file touch on OS X for docker vm

This is made for vm4docker, this should also work with boot2docker.

Requirements

A host named docker should exists, or you can change it with the host settings. You should be able to ssh to your docker host under the current user.

In your docker vm the /Users folder from you mac should be mounted (nfs, shared folders, etc).

What It Does

The plugin does a ssh to the docker vm and does a touch of the same file path you are editing in your mac.

This is useful for auto reloading development setups in you docker vm, which listen on ionotify, for example flask oder django dev servers.

Settings

{
    "host": "docker",
    "file_extensions": ["py", "md"],
    "do_ssh_key_checking": false,
    "watch_paths": ["/Users/myuser/myprojects", "/Users/myuser/otherprojects"]
}
  • host: default: “docker”, “mydockerhost”, ssh host
  • file_extenions: default: , [“py”, “md”], only trigger with this file extensions
  • watch_paths: default: $HOME, [“/Users/myuser/myprojects”, “/Users/myuser/otherprojects”], only trigger if file is in one of this paths, the path must be inside /Users
  • do_ssh_key_checking: default: false, true|false, force ssh key checking with true