docker-sync 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/docker-sync/sync_strategy/unison.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9986beceeb3f875df932e66562fbd84c8e933df5
|
4
|
+
data.tar.gz: 1f8ca0857499bc05dadefdec2090a99a2f39ecec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a1a678fba8bb4c6ebe4d977d22476d6266d46872ac4b839ccc8d28b3bb915c073cddff0f96116d195b41bb6561e3bf6d386928ef07d5a2d2515731c3039e9c9
|
7
|
+
data.tar.gz: 2bb30716832245c895b09d7768fab9a97074163eb143376dbba2d2cd11b5330c51c9fc1adb65de8a67ac274f6aa6b71224bd1227746f37a73e1cd04eb1217d28
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -160,7 +160,7 @@ module Docker_Sync
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def get_host_port(container_name, container_port)
|
163
|
-
cmd = 'docker inspect --format=" {{ .NetworkSettings.Ports }} " ' + container_name + ' | sed "s/.*map\[' + container_port + '[^ ]
|
163
|
+
cmd = 'docker inspect --format=" {{ .NetworkSettings.Ports }} " ' + container_name + ' | /usr/bin/sed -E "s/.*map\[' + container_port + '[^ ]+ ([0-9]*)[^0-9].*/\1/"'
|
164
164
|
say_status 'command', cmd, :white if @options['verbose']
|
165
165
|
stdout, stderr, exit_status = Open3.capture3(cmd)
|
166
166
|
if not exit_status.success?
|