Releases: phusion/baseimage-docker
v0.9.17
- The latest OpenSSL updates have been pulled in. This fixes CVE-2015-1793. Upgrading is strongly recommended.
- Removed nano and replaced vim with vim-tiny. This reduces Baseimage-docker's virtual size by 42 MB.
- Fixed an issue in
my_init
which could cause it to hang during shutdown. Thanks to Joe "SAPikachu" Hu for contributing the fix. Closes GH-151. - When
my_init
generates/etc/container_environment.sh
, it now ensures that environment variable names do not include any characters unsupported by Bash. Unsupported characters are now replaced with underscores. This fixes compatibility issues with Docker Compose. Closes GH-230. my_init
no longer reads from and writes to/etc/container_environment
if that directory does not exist. Previously it would abort with an error. This change makes it easier to reusemy_init
in other (non-Baseimage-docker-based) projects without having to modify it.- Baseimage-docker no longer sets the HOME environment variable by default. We used to set HOME by default to work around Docker issue 2968 where HOME defaults to /, but this issue is now fixed. Furthermore, the fact that we set HOME interfered with the USER stanza: USER would no longer set HOME. So we got rid of our HOME variable. Closes GH-231.
- Some unnecessary Ubuntu cron jobs have been removed. Closes GH-205.
- Syslog-ng no longer forwards messages to /dev/tty10. Closes GH-222.
- It is now possible to build your own Baseimage-docker variant that has cron, syslog or sshd disabled. Thanks to Enderson Tadeu S. Maia. Closes GH-182.
v0.9.16
docker exec
is now the default and recommended mechanism for running commands in the container. SSH is now disabled by default, but is still supported for those cases where "docker exec" is not appropriate. Closes GH-168.- All syslog output is now forwarded to
docker logs
. Closes GH-123. - The workaround for Docker bug 2267 (the inability to modify /etc/hosts) has been removed, because it has been fixed upstream. Closes GH-155.
- Logrotate now reloads syslog-ng properly. Closes GH-167.
- Fixed some locale issues. Closes GH-178. Thanks to David J. M. Karlsen.
- Fixed problems with cron. Closes GH-115.
- Contribution by Bryan Bishop.
v0.9.15
- Fixed the setuid bit on /usr/bin/sudo. This problem was caused by Docker bug #6828.
v0.9.14
- Installed all the latest Ubuntu security updates. This patches Shellshock, among other things.
- Some documentation updates by andreamtp.
v0.9.13
- Fixed
my_init
not properly exiting with a non-zero exit status when Ctrl-C is pressed. - The GID of the
docker_env
group has been changed from 1000 to 8377, in order to avoid GID conflicts with any groups that you might want to introduce inside the container. - The syslog-ng socket is now deleted before starting the syslog-ng daemon, to avoid the daemon from failing to start due to garbage on the filesystem. Thanks to Kingdon Barrett. Closes GH-129.
- Typo fixes by Arkadi Shishlov.
v0.9.12
- We now officially support
nsenter
as an alternative way to login to the container. With official support, we mean that we've provided extensive documentation on how to usensenter
, as well as related convenience tools. However, becausensenter
has various issues, and for backward compatibility reasons, we still support SSH. Please refer to the README for details aboutnsenter
, and what the pros and cons are compared to SSH.- The
docker-bash
tool has been modified to usensenter
instead of SSH. - What was previously the
docker-bash
tool, has now been renamed todocker-ssh
. It now also works on a regular sh shell too, instead of bash specifically.
- The
- Added a workaround for Docker's inability to modify /etc/hosts in the container (Docker bug 2267). Please refer to the README for details.
- Fixed an issue with SSH X11 forwarding. Thanks to Anatoly Bubenkov. Closes GH-105.
- The init system now prints its own log messages to stderr. Thanks to mephi42. Closes GH-106.
v0.9.11
- Introduced the
docker-bash
tool. This is a shortcut tool for logging into a container using SSH. Usage:docker-bash <CONTAINER ID>
. See the README for details. - Fixed various process waiting issues in
my_init
. Closes GH-27, GH-82 and GH-83. Thanks to André Luiz dos Santos and Paul Annesley. - The
ca-certificates
package is now installed by default. This is because we includeapt-transport-https
, but Ubuntu 14.04 no longer installsca-certificates
by default anymore. Closes GH-73. - Output print by Runit services are now redirected to the Docker logs instead of to proctitle. Thanks to Paul Annesley.
- Container environment variables are now made available to SSH root shells. If you login with SSH through a non-root account, then container environment variables are only made available if that user is a member of the
docker_env
group. Thanks to Bernard Potocki. add-apt-repository
is now installed by default. Closes GH-74.- Various minor fixes and contributions thanks to yebyen, John Eckhart, Christoffer Sawicki and Brant Fitzsimmons.
v0.9.10
-
Upgraded to Ubuntu 14.04 (Trusty). We will no longer release images based on 12.04.
Thanks to contributions by mpeterson, Paul Jimenez, Santiago M. Mola and Kingdon Barrett. -
Fixed a problem with my_init not correctly passing child processes' exit status. Fixes GH-45.
-
When reading environment variables from /etc/container_environment, the trailing newline (if any) is ignored. This makes commands like this work, without unintentially adding a newline to the environment variable value:
echo my_value > /etc/container_environment/FOO
If you intended on adding a newline to the value, ensure you have two trailing newlines:
echo -e "my_value\n" > /etc/container_environment/FOO
-
It was not possible to use
docker run -e
to override environment variables defined in /etc/container_environment. This has been fixed (GH-52). Thanks to Stuart Campbell for reporting this bug.
v0.9.9
- Fixed a problem with rssh. (Slawomir Chodnicki)
- The
INITRD
environment variable is now set in the container by default. This prevents updates to theinitramfs
from running grub or lilo. - The
ischroot
tool in Ubuntu has been modified to always return true. This prevents updates to theinitscripts
package from breaking /dev/shm. - Various minor bug fixes, improvements and typo corrections. (Felix Hummel, Laurent Sarrazin, Dung Quang, Amir Gur)