Peter Wilmott
f33b31b3d6
Make each isolation level in bocker_run more clear
2015-07-31 21:59:07 +00:00
Peter Wilmott
1f48b32c42
Cleaned up cgroup implementation
...
Set default limits to 1 core and 512MB, CGX has also been removed to try
and make it more clear what is calling what.
2015-07-31 19:35:42 +00:00
Peter Wilmott
bc1b4719b5
Bocker is now written in 'around 100 lines of bash'
...
The 100 lines limit was a fun idea but has started to hurt
development. There will still be a focus on keeping it short and simple,
but no hard limit imposed
2015-07-31 18:12:59 +00:00
Peter Wilmott
11129aecc0
Separate nsenter arguments
...
For some reason it doesn't like -muinp, so you need to use -m -u -i -n
-p instead.
2015-07-31 16:55:07 +00:00
Peter Wilmott
25efd9497d
Added libcgroup-tools to the list of packages to install
2015-07-31 16:17:06 +00:00
Peter Wilmott
8505276c60
Update README.md
2015-07-27 18:51:59 +00:00
Peter Wilmott
6f8e5e9cb9
Merge branch 'Fusion-master'
2015-07-27 18:50:29 +00:00
Peter Wilmott
baf937abdd
Merge branch 'master' of https://github.com/Fusion/bocker into Fusion-master
2015-07-27 18:44:16 +00:00
Peter Wilmott
afcbd1bd06
Open functions on the same line that the previous function closes
2015-07-27 19:18:43 +01:00
Peter Wilmott
1b5f10b8ab
Merge branch 'wking-indent-function-bodies'
2015-07-27 19:09:33 +01:00
Peter Wilmott
7bd579c349
Indent function bodies
2015-07-27 19:09:20 +01:00
Peter Wilmott
b240a47ac8
Implement 'bocker pull' for Docker Hub integration
2015-07-27 19:04:14 +01:00
Peter Wilmott
d5b38393c2
Small style changes
2015-07-27 17:51:08 +01:00
Peter Wilmott
7c85abd1b4
Merge branch 'Fusion-master'
2015-07-27 17:31:08 +01:00
Chris F Ravenscroft
c64c575abb
Now with cgroup support
2015-07-26 17:05:06 -07:00
Peter Wilmott
5d48897ffa
Merge branch 'master' of https://github.com/Fusion/bocker into Fusion-master
2015-07-26 22:15:18 +01:00
Chris F Ravenscroft
d4b9247f14
Execute commands in a container
2015-07-25 23:37:19 -07:00
W. Trevor King
871a851ffc
Indent function bodies
...
This makes it a bit easier to read.
2015-07-25 21:16:04 -07:00
Peter Wilmott
caf4a38b9a
Save 4 lines, thanks @SkUrRiEr
2015-07-24 16:46:25 +00:00
Peter Wilmott
036d2b6ffc
Merge pull request #11 from pixelb/patch-1
...
mention coreutils as a prerequisite
2015-07-24 09:28:22 +01:00
Pádraig Brady
61f8ed7a49
mention coreutils as a prerequisite
...
cp --reflink=auto was added in coreutils 7.5
2015-07-24 00:13:25 +01:00
Peter Wilmott
0b5dc8b338
#3 : Deterministically generate IP and MAC addresses from the container IDs
2015-07-24 00:01:42 +01:00
Peter Wilmott
aa13b05e63
Merge branch 'master' of github.com:p8952/bocker
2015-07-23 18:16:36 +01:00
Peter Wilmott
5d9c745eef
Merge branch 'SkUrRiEr-master'
2015-07-23 18:14:31 +01:00
Peter Wilmott
5246b814a3
Resolve merge conflicts; remove 80 char width limit for now
2015-07-23 18:14:08 +01:00
Peter Wilmott
b6678d7a2b
Merge pull request #8 from alexandregz/typo-README
...
typo
2015-07-23 18:06:36 +01:00
Peter Wilmott
aad843d8d2
Merge branch 'TomiBelan-master'
2015-07-23 18:00:54 +01:00
Peter Wilmott
e84b1f768c
Merge branch 'master' of https://github.com/TomiBelan/bocker into TomiBelan-master
2015-07-23 17:58:15 +01:00
Peter Wilmott
6e6ee2d3b2
Improve test coverage
2015-07-23 17:56:51 +01:00
Alexandre Espinosa Menor
a9f3039c59
typo
2015-07-23 17:02:19 +02:00
Tomi Belan
c3efade5c4
Shorter case statement
2015-07-23 16:56:27 +02:00
Julian Calaby
3eaea7e44c
Trick sed into always ignoring slashes in $0
2015-07-23 09:48:52 +10:00
Julian Calaby
103182ad40
Split sed script to only format help comments
2015-07-23 09:48:30 +10:00
Julian Calaby
d229161326
Move exit call out of HELP()
...
This saves another line as it's only needed in one place.
2015-07-23 09:32:48 +10:00
Julian Calaby
3bf68db6a4
Use the actual executable path in the help messages
...
And it doesn't cost any lines
2015-07-23 09:32:48 +10:00
Julian Calaby
dbbeaf8732
Document "commit" and "help" commands
2015-07-23 09:32:48 +10:00
Julian Calaby
7edff781c1
Reduce lines required for command documentation
2015-07-23 09:32:48 +10:00
Peter Wilmott
39ebf616c4
Put all test in their own directory; Add a script to run all tests
2015-07-22 19:06:58 +01:00
Peter Wilmott
222b630588
Merge branch 'jbayer-add-test'
2015-07-22 18:38:57 +01:00
Jonathan Dowland
5624b48038
remove a useless use of cat and or logic
2015-07-22 10:37:27 +01:00
James Bayer
2232bb67ae
add important test
2015-07-21 20:37:45 -07:00
Peter Wilmott
5085fa368b
Update README.md
v0.1
2015-07-21 22:20:02 +01:00
Peter Wilmott
8a58348038
Document 'bocker logs' and 'bocker commit' options
2015-07-21 22:13:31 +01:00
Peter Wilmott
c6ce6655e0
Implement 'bocker commit', getting short on lines here 😰
2015-07-21 22:13:28 +01:00
Peter Wilmott
fa5a5fe8f1
Populate resolv.conf to get DNS working
2015-07-21 20:04:46 +01:00
Peter Wilmott
a500e2768a
Update README.md
2015-07-21 19:52:20 +01:00
Peter Wilmott
b9ed655c37
Update README.md
2015-07-21 17:54:42 +01:00
Peter Wilmott
6eb0630940
Add support for networking inside bocker containers
2015-07-21 17:53:33 +01:00
Peter Wilmott
b2844d73a0
Store the base-image in / not /vagrant; Symlink bocker to /usr/bin
2015-07-20 20:34:59 +01:00
Peter Wilmott
302f5a8f85
Merge branch 'master' of github.com:p8952/bocker
2015-07-20 19:35:46 +01:00