1
0
mirror of https://github.com/docker/docs.git synced 2026-11-11 04:02:07 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
Doug Davis
54662eae10 Fix RUN's error msg when it fails
When RUN returns with a non-zero return code it prints the command
that was executed as a Go []string:
```
INFO[0000] The command &{[/bin/sh -c noop a1 a2]} returned a non-zero code: 127
```

instead it should look like this:
```
INFO[0000] The command "/bin/sh -c noop a1 a2" returned a non-zero code: 127
```

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-05-05 16:08:41 -07:00
Victor Vieux
83ed309da6 do not use -f in tests
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-05-05 16:08:38 -07:00
Jessie Frazelle
b5d68944f4 Merge pull request #13004 from duglin/FixBuilderStepMsg
Fix issue where build steps are duplicated in the output
2015-05-05 16:06:50 -07:00
Andrea Luzzardi
bca0e2e8c2 integration: cleanup discovery tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-05 16:06:41 -07:00
Jessica Frazelle
18beb55611 Add rpm for centos-6, centos-7, fedora-20, fedora-21
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-05-05 16:05:30 -07:00
Richard
c4cac824ed Disabled coveralls reporting: build breaking sending coverage data to coveralls
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-05-05 15:29:37 -07:00
Doug Davis
08b7f30fcd Fix issue where build steps are duplicated in the output
This fixes an issue where the build output for the "Steps" would look like:
```
Step 1: RUN echo hi echo hi
```
instead of
```
Step 1: RUN echo hi
```

Also, I noticed that there were no checks to make sure invalid Dockerfile
cmd flags were caught on cmds that didn't use cmd flags at all. They would
have been caught on the cmds that had flags, but cmds that didn't bother
to add a new code for flags would have just ignored them.  So, I added
checks to each cmd to flag it.

Added testcases for issues.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-05-05 15:28:42 -07:00
Nathan LeClaire
cfcd0a75dd Fix Windows ISO rename issue
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-05 15:00:55 -07:00
moxiegirl
78c70cc364 Merge pull request #13003 from moxiegirl/machine-branch-change
Updating branch for machine docs
2015-05-05 14:49:44 -07:00
Evan Hazlett
a5bee2996f Merge pull request #1121 from nathanleclaire/skip_build
Add environment variable option to skip docker build in script/build
2015-05-05 14:46:53 -07:00
Arnaud Porterie
e960e4bb12 Merge pull request #11844 from jbarbier/cgroup-parent-42
Adding cgroup-parent option for docker build
2015-05-05 14:46:47 -07:00
Nathan LeClaire
f1c7577f82 Add environment variable option to skip docker build
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-05 14:39:13 -07:00
Mary Anthony
8c9d67921a Updating branch for machine docs
Signed-off-by: Mary Anthony <mary@docker.com>
2015-05-05 14:33:31 -07:00
Evan Hazlett
3b0a32f6d8 Merge pull request #1118 from nathanleclaire/fix_env
Fix failing env validation
2015-05-05 14:33:08 -07:00
Jeffrey Morgan
34f6b7169d Merge pull request #472 from TeckniX/master
Fixed stop button showing on initial start
2015-05-05 14:32:42 -07:00
Alexandre Beslic
92abcac33c Merge pull request #706 from jimmyxian/bug-fix-exec
bug fix: check status code in exec
2015-05-05 14:32:39 -07:00
Andrea Luzzardi
e6d853326f regression tests: Initial version.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-05 14:10:56 -07:00
Andrea Luzzardi
2a3a32274b Merge pull request #716 from aluzzardi/integration-cli
integration: Run tests with Docker master
2015-05-05 14:09:40 -07:00
Aaron Huslage
bdf01d33c4 Generate more generic certificates that can have other uses.
Added `Digital Signature, Key Encipherment, Key Agreement` Key Usage values.

Signed-off-by: Aaron Huslage <aaron@docker.com>
2015-05-05 16:53:23 -04:00
Nathan LeClaire
6bb56f91d3 Fix failing env validation
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-05 13:51:22 -07:00
Evan Hazlett
a7d63161ec Merge pull request #406 from ehazlett/driver-generic
Generic Driver
2015-05-05 13:47:12 -07:00
Sebastiaan van Stijn
f0a8dfd29e Merge pull request #12993 from psftw/support-tweak
Remove blanket "supported" language.
2015-05-05 16:03:02 -04:00
Evan Hazlett
031e257f9c Merge pull request #993 from ehazlett/windows-vbox-share
Windows vbox share
2015-05-05 12:42:21 -07:00
Evan Hazlett
c4dd9198c1 windows: fix shell detection to not bail on bash envs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 12:19:53 -07:00
Evan Hazlett
60be4c292c virtualbox: windows share support
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:31:43 -07:00
Evan Hazlett
10afd2da8a Merge pull request #1107 from hairyhenderson/softlayer-panic
Fixing panic when d.deviceConfig is nil
2015-05-05 11:13:54 -07:00
Evan Hazlett
0060b1cf4b generic: update docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:10:51 -07:00
Evan Hazlett
9030986a63 generic: pretty struct format
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:08:45 -07:00
Evan Hazlett
e9e0fa5cfc generic: remove unneeded check for ssh user
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:07:45 -07:00
Evan Hazlett
e6159ce6c9 generic: reduce wait time for GetState
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:05:47 -07:00
Evan Hazlett
fc49adbcdf generic: use ~/.ssh/id_rsa as default ssh key
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
afb9cb39e2 generic: ssh timeout
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
2d525d0abd generic: update to new logging; fix ssh user bug
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
8e0b80b015 generic: rename generic-user to generic-ssh-user; update docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
4e64ff79f9 generic: update for upstream driver specification
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
94ccd5cd5a generic: remove unneeded config
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:48 -07:00
Evan Hazlett
f4c6730539 rebased and updated generic driver for latest driver spec
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:47 -07:00
Evan Hazlett
fb5036e8fd generic: add precreatecheck to driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:47 -07:00
Evan Hazlett
85dac5440a generic: minor logging update
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:47 -07:00
Evan Hazlett
b3a0a4a882 generic: use SSHPort
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:47 -07:00
Evan Hazlett
7fc50f3de3 add generic driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-05 11:04:47 -07:00
Evan Hazlett
fdc8538de4 Merge pull request #1109 from ibuildthecloud/no-default-storage-driver
Default storage driver to "" and let provisioner choose default
2015-05-05 10:46:47 -07:00
David Calavera
6bb596219f Merge pull request #12996 from tianon/abri-à-vélo
Replace "docker-core" with "docker-engine" in "build-deb"
2015-05-05 10:43:15 -07:00
Patrick Devine
878dcb89f3 Make a docker-in-docker dynamic binary and add RPM target
This change adds a new docker-in-docker dynamic binary make target which
builds a centos container for creating the dynamically linked binary.
To use it, you first must create the static binary and then call the
dind-dynbinary target.  You can call it like:

$ hack/make.sh binary dind-dynbinary rpm

This would then package the dynamic binary into the rpm after having
created it in the centos build container.  Unfortunately with this approach
you can't create the rpms and the debs with the same command.  They have to
be created separately otherwise the wrong version (static vs. dynamic) gets
packaged.

Various RPM fixes including:
  - Adding missing RPM dependencies.
  - Add sysconfig configuration files to the RPM.
  - Add an epoch to silence the fpm warning.
  - Remove unnecessary empty package.

Signed-off-by: Patrick Devine <patrick.devine@docker.com>
Signed-off-by: Chad Metcalf <chad@docker.com>
2015-05-05 10:01:39 -07:00
Jeffrey Morgan
cdb120d40b Update CONTRIBUTING.md 2015-05-05 09:59:39 -07:00
Evan Hazlett
6037964cf2 Merge pull request #1104 from ehazlett/version-bump-dev
bump for dev 0.3.0 version
2015-05-05 09:58:43 -07:00
Evan Hazlett
ea1569258b Merge pull request #1106 from nathanleclaire/active_integration_tests
Fix integration tests
2015-05-05 09:57:50 -07:00
Alexander Morozov
77266a67e0 Merge pull request #12947 from runcom/11577-readonly-special-file-if-readonlyfs
Make /etc/hosts, /etc/resolv.conf, /etc/hostname read only if --read-only enabled
2015-05-05 09:45:24 -07:00
Alexander Morozov
e894a901db Merge pull request #12679 from adcaes/12607-remove-error-check
Add intValue and use it to get timeout form param in postContainersRestart
2015-05-05 09:38:45 -07:00
Darren Shepherd
8afe967a80 Fix issue where GetIP failes due to no SSH
The main goal of this patch was to make the VirtualBox driver wait for
SSH before trying to get the IP of the VM.  The generic WaitForSSH
method required a Host struct as an arg.  This patch moves most of the
logic to the driver package so that drivers can call WaitForSSH.  The
existing functions in host are just wrappers to the real
implementation in drivers now.

Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-05-05 09:32:45 -07:00