You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Alpine does not include the very common `glibc` GNU C Standard Library, which
80
-
# causes compatibility problems. Among other things, AWS CLI v2 does not work
81
-
# out of the box with Alpine. The following recipe installs `glibc` , and has to be run
82
-
# before installing other packages, particularly `libc6-compat`, and then,
83
-
# because it conflicts, you have to tweak a bit and then install `libc6-compat`.
84
-
# So put this in Dockerfile.alpine after setting up the package repositories
85
-
# but before installing any packages https://github.com/cloudposse/geodesic/blob/91336bf56fb7ff0d9812e01ceacc40ca59a17cce/os/alpine/Dockerfile.alpine#L81
86
-
# (Not verified)
87
-
88
-
# Install glibc and glibc-bin and the C.UTF-8 locale
Copy file name to clipboardExpand all lines: README.md
+43-4Lines changed: 43 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,20 @@ We recommend starting by using `geodesic` as a Docker base image (e.g. `FROM clo
76
76
> Starting with Geodesic 2.0, we distributed Geodesic as a multi-platform (`linux/amd64`, `linux/arm64`) Debian-based Docker image and a single-platform (`linux/amd64`) Alpine-based image.
77
77
> We moved the `cloudposse/geodesic:latest` Docker image tag from the Alpine version to the Debian version at that time.
78
78
79
+
80
+
### What’s Changed in Geodesic 4.0
81
+
82
+
Geodesic 4.0 is a major release that brings many new features and improvements. The most notable changes are:
83
+
84
+
- The first launched shell is no longer special. All shells are now equal, and you can quit them in any order.
85
+
The geodesic container remains running until the last shell exits.
86
+
- The `geodesic` command now has a `--solo` option that allows you to launch a new Geodesic container for just that one shell.
87
+
- Geodesic no longer mounts the host user's entire home directory into the container. Instead, it mounts only selected directories.
88
+
- The `geodesic stop` command has been enhanced to shut down the Geodesic container gracefully, rather than forcefully, allowing,
89
+
among other things, shell scripts to run their exit handlers.
90
+
91
+
See extensive release notes for Geodesic 4.0 [here](ReleaseNotes-v4.md).
92
+
79
93
### What’s Changed in Geodesic 3.0
80
94
81
95
Rather than bringing new features, Geodesic 3.0 is focused on slimming down the Docker image and removing outdated tools.
@@ -136,9 +150,9 @@ The `latest` tag points to the latest Debian-based image, although we recommend
136
150
137
151
### Quickstart
138
152
139
-
#### docker run
153
+
#### Installing Geodesic
140
154
141
-
Launching Gedoesic is a bit complex, so we recommend you install a launch script by running
155
+
Launching Geodesic is a bit complex, so we recommend you install a launch script by running
142
156
```
143
157
docker run --rm cloudposse/geodesic:latest-debian init | bash
144
158
```
@@ -147,14 +161,28 @@ After that, you should be able to launch Geodesic just by typing
147
161
geodesic
148
162
```
149
163
164
+
Alternately, customize the Makefile as described below and use `make install` to build your custom image
165
+
and install the launch script.
166
+
167
+
#### Running Geodesic
168
+
169
+
Geodesic has only a few commands and command-line options. The most important command is `geodesic`, which launches the Geodesic shell.
170
+
The only other command you might normally use is `geodesic stop`, which stops the Geodesic container, but
171
+
Geodesic automatically quits (and removes the Docker container) when you exit the last shell, so you should rarely need to use `geodesic stop`.
172
+
173
+
Run `geodesic help` for a list of command-line options.
174
+
175
+
See [customization](/docs/customization.md) documentation for information on how to customize your Geodesic environment.
176
+
Geodesic has many customization options, but they are most commonly set in configuration files, not on the command line.
177
+
150
178
### Customizing your Docker image
151
179
152
180
In general we recommend creating a customized version of Geodesic by creating your own `Dockerfile` starting with
153
181
```
154
182
# We always recommend pinning versions to avoid surprises and breaking changes.
155
183
# We put the version up top here so it is easy to find and update.
156
184
# Find the latest version at https://github.com/cloudposse/geodesic/releases
157
-
ARG VERSION=3.0.0
185
+
ARG VERSION=4.0.0
158
186
# If you don't want to bothered with updating the version, you can use `latest` instead,
159
187
# but keep in mind that as long as you have a local image with the `latest` tag,
160
188
# it will not be updated by `docker run`. You will have to explicitly pull the latest image.
0 commit comments