Sven Dowideit
3de5a836c9
Don't pull an image that is already local
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-20 22:39:37 +10:00
Sven Dowideit
d859052453
get the kernel version for the banner
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-14 21:15:43 +10:00
Julien Kassar
493ba98292
Replace Sirupsen/logrus package with rancher/os/log
2017-02-17 11:24:07 -05:00
Sven Dowideit
4df962d4b6
make ros log to dmesg
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-30 10:51:30 +10:00
Sven Dowideit
0ac5a2d40b
Set rancher.environment.KERNEL_VERSION from /proc/version
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-29 23:09:07 +10:00
Josh Curl
a7c34b9855
Fix golint errors
2016-11-28 00:06:00 -08:00
Josh Curl
13b34a6668
Early cloud-init
2016-11-09 11:08:30 -08:00
Josh Curl
72f7f9a572
Shim to support services depending on cloud-init service
2016-11-04 10:04:30 -07:00
Josh Curl
0631e90ee0
Fix --upgrade-console flag for upgrade
2016-08-29 11:29:32 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD
2016-06-13 22:00:34 -07:00
Denise
6d3ac8d734
Merge pull request #1008 from joshwget/legacy-labels
...
Support legacy Docker Compose labels
2016-06-13 18:36:46 -07:00
Josh Curl
313cdb7e24
Support legacy Docker Compose labels
2016-06-13 17:53:36 -07:00
Josh Curl
7f7d8765ca
New console label to handle switching between persistent consoles
2016-06-10 10:54:10 -07:00
Josh Curl
adb5635186
Support registry credentials in cloud config
2016-06-02 19:00:42 -07:00
Josh Curl
08f40ad3e7
Fix boot issues due to invalid configs
2016-06-01 18:41:55 -07:00
Josh Curl
95d8ebe146
Simplify configuration
2016-05-31 14:34:04 -07:00
Josh Curl
b2ab4d0c38
Use Docker exec to start User Docker
2016-05-23 17:21:35 -07:00
Josh Curl
42e48476e7
Sync with libcompose
2016-05-23 17:21:28 -07:00
Josh Curl
ae543ab167
HTTP proxy settings can be set in cloud config
2016-05-06 16:25:07 -07:00
Josh Curl
ee73337f49
Add upgrade flag to upgrade persistent console
2016-04-18 17:00:18 -07:00
Josh Curl
e31b955b0a
Fix environment variables set for system services
2016-04-12 22:59:37 -07:00
Ivan Mikushin
07fdba4642
Recreate create-only containers and force rename after recreate
2015-12-07 18:17:57 +05:00
Ivan Mikushin
5a363ab97d
migrate to upstream libcompose in one and a half go
2015-12-07 18:17:57 +05:00
Wang Long
bd81c9dea8
Delete the unused const variable in docker/client.go
...
The commit 9d76b79ac3
refactor code for function
"NewClient", and we should delete the unused const
variable.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-29 22:54:49 +08:00
Wang Long
9e15059789
Replace rancherio with rancher
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Ivan Mikushin
04472c7552
Do not link to services that do not exist in the project
...
Fixes #495
2015-08-26 14:50:13 +05:00
Darren Shepherd
9d76b79ac3
Refactor to use libcompose
2015-08-06 00:05:25 -07:00
Ivan Mikushin
7ad60c07bd
make cloud-config the configuration mechanism for RancherOS
2015-08-05 19:48:25 +05:00
Ivan Mikushin
ad832471a1
isolate and mark platform dependent code
...
now unit tests compile on OS X and (some of them) work
2015-07-17 16:43:09 +05:00
Ivan Mikushin
dff70f8362
latest rancher-compose, default.go -> os-config.yml
...
also, gofmt
2015-06-29 12:00:41 +05:00
Darren Shepherd
0b3b4a317b
Merge pull request #312 from imikushin/fix-container-npe
...
prevent `nil` from being put back to `c.Container`
2015-05-22 10:51:31 -07:00
Ivan Mikushin
2dff031552
preload images: service dependencies
...
also, log implicitly added service dependencies and remove unnecessary linking to dockerwait
2015-05-22 13:29:24 +05:00
Ivan Mikushin
d98c3dd9b9
prevent nil
from being put back to c.Container
...
`c.Exists()` is an innocent looking function being in fact a mutating operation: `c.Container` may be `nil` before and hold a looked up value after the call.
2015-05-19 13:10:51 +05:00
Ivan Mikushin
d0476e1308
do not sort Maporslice keys
2015-05-18 22:10:38 +05:00
Ivan Mikushin
59029a49a8
fix getHash()
2015-05-18 09:45:48 +05:00
Ivan Mikushin
2547db84e5
test getHash() consistency
2015-05-17 18:09:32 +05:00
Ivan Mikushin
c058cb1a39
container_test.go: fix compile errors
2015-05-17 17:58:59 +05:00
deniseschannon
efa14453a3
Updated hash based on comments
2015-05-11 10:02:15 -07:00
deniseschannon
eea38fb173
Updated hashing in case slice order changes
2015-05-08 13:17:52 -07:00
deniseschannon
975e869af9
Fixes creating Hash
2015-05-07 14:29:30 -07:00
Darren Shepherd
cff8052a3b
Fix invalid reference to old userdockerwait
2015-05-05 13:37:25 -07:00
Darren Shepherd
6b929abdea
Updates for refactored rancher-compose
2015-05-05 13:36:52 -07:00
deniseschannon
0e4f0fe292
Changes required due to labels type change in ServiceConfig
2015-04-29 20:48:57 -07:00
Darren Shepherd
2ba5c858f9
Remove commented code
2015-04-17 06:37:56 -07:00
Darren Shepherd
f09df5610f
Don't create container when disabled
2015-04-17 06:37:56 -07:00
Darren Shepherd
34ac3236d4
If image has no tag assume :latest, not all images
2015-04-17 06:37:56 -07:00
Darren Shepherd
5728683e1d
Typo in type name
2015-04-17 06:37:56 -07:00
Darren Shepherd
ae196042ff
Support environment globbing for prefix only
...
You can now put FOO* in the compose environment and it will find all
environment variables that start with FOO
2015-04-16 08:39:28 -07:00
Darren Shepherd
0b5eb352ba
Services in compose format
2015-04-15 23:17:01 -07:00
Darren Shepherd
be8fa8e5b7
Services as compose format
2015-04-15 23:17:00 -07:00