Compare commits
No commits in common. "2a6ab88e3459734a6048e5cd39e81571890671bf" and "c4e984a709f799f504e5805843c57c99574a8d3f" have entirely different histories.
2a6ab88e34
...
c4e984a709
12
README.md
12
README.md
@ -61,18 +61,6 @@ system install, for all users, as `root`:
|
||||
each user can have its own configuration in `~/.config/runon/runon.conf`.
|
||||
|
||||
|
||||
## some convenient links
|
||||
|
||||
you can create soft links to `runos` to simplify calls:
|
||||
|
||||
cd /usr/local/bin
|
||||
ln -s runon centos7
|
||||
|
||||
now calling `centos7 ...` is equivalent to call `runos centos7 ...`:
|
||||
|
||||
centos7 xclock
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
|
4
runon
4
runon
@ -125,12 +125,8 @@ def create_container(client, image, conf, command, verbose):
|
||||
|
||||
|
||||
def run_container(client, container):
|
||||
try:
|
||||
dockerpty.start(client.api, container.id)
|
||||
container.reload() # to update attrs fields
|
||||
except docker.errors.APIError as e:
|
||||
print('ERROR: {}'.format(e))
|
||||
sys.exit(1)
|
||||
ret = container.attrs['State']['ExitCode']
|
||||
return ret
|
||||
|
||||
|
@ -20,7 +20,7 @@ dockerfile =
|
||||
RUN echo "Defaults lecture = never" >> /etc/sudoers
|
||||
RUN echo "ALL ALL=(ALL) ALL" >> /etc/sudoers
|
||||
pkginstall = RUN yum install {} -y
|
||||
packages = ksh csh xterm xorg-x11-apps xkeyboard-config git glibc-devel gdk-pixbuf2 gtk2 gtk3 alsa-lib
|
||||
packages = ksh csh xterm xorg-x11-apps xkeyboard-config git
|
||||
|
||||
[centos8]
|
||||
dockerfile =
|
||||
@ -31,7 +31,7 @@ dockerfile =
|
||||
RUN echo "Defaults lecture = never" >> /etc/sudoers
|
||||
RUN echo "ALL ALL=(ALL) ALL" >> /etc/sudoers
|
||||
pkginstall = RUN yum install {} -y
|
||||
packages = ksh csh xterm xorg-x11-apps xkeyboard-config git glibc-devel
|
||||
packages = ksh csh xterm xorg-x11-apps xkeyboard-config git
|
||||
|
||||
[debian9]
|
||||
dockerfile =
|
||||
|
Loading…
Reference in New Issue
Block a user