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
## Which issue does this PR close?
- No current PR, was found while testing 0.6.0 RC
## What changes are included in this PR?
`CONTRIBUTING.md`
`docs/contributing/podman.md`
- Podman instructions have been updated for clarity and to emphasis its
usage in a Linux environment.
`crates/integration_tests/testdata/docker-compose.yaml`
- Updated to remove deprecated Link feature, which breaks when used with
Podman.
https://stackoverflow.com/questions/35832095/difference-between-links-and-depends-on-in-docker-compose-yml
`crates/integration_tests/testdata/spark/provision.py`
- Added Create Namespace `default` to fix breaking tests.
## Are these changes tested?
- Tested by running `make build && make test` against the following
platforms:
* Arch Linux x86_64 with Podman && Docker-Compose
* MacOS M1 arm64 with Orbstack
Currently, iceberg-rust uses Docker to set up environment for integration tests. Native Docker has some limitations, please check (https://github.com/apache/iceberg-rust/pull/748). Please use Orbstack or Podman.
105
105
106
106
For MacOS users, you can install [OrbStack as a docker alternative](docs/contributing/orbstack.md).
107
-
108
-
For podman, refer to [Using Podman instead of Docker](docs/contributing/podman.md)
107
+
For Podman users, refer to [Using Podman instead of Docker](docs/contributing/podman.md)
Copy file name to clipboardExpand all lines: docs/contributing/podman.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,24 +19,30 @@
19
19
20
20
# Using Podman instead of Docker
21
21
22
-
Iceberg-rust does not require containerization, except for integration tests, where "docker" and "docker-compose" are used to start containers for minio and various catalogs. Below instructions setup "rootful podman" and docker's official docker-compose plugin to run integration tests as an alternative to docker or Orbstack.
22
+
Iceberg-rust does not require containerization, except for integration tests, where "docker" and "docker-compose" are used to start containers for minio and various catalogs. Below instructions setup "rootful podman" and docker's official docker-compose plugin to run integration tests as an alternative to docker or Orbstack.
23
23
24
24
1. Have podman v4 or newer.
25
-
```console
25
+
```shell
26
26
$ podman --version
27
27
podman version 4.9.4-rhel
28
28
```
29
-
30
-
2. Open file `/usr/bin/docker` and add the below contents:
29
+
2. Create a docker wrapper script:
30
+
31
+
* Create a fresh `/usr/bin/docker` file and add the below contents:
31
32
```bash
32
33
#!/bin/sh
33
34
[ -e /etc/containers/nodocker ] || \
34
35
echo"Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.">&2
35
36
exec sudo /usr/bin/podman "$@"
36
37
```
37
38
39
+
* Set new `/usr/bin/docker` file to executable.
40
+
```shell
41
+
sudo chmod +x /usr/bin/docker
42
+
```
43
+
38
44
3. Install the [docker compose plugin](https://docs.docker.com/compose/install/linux). Check for successful installation.
39
-
```console
45
+
```shell
40
46
$ docker compose version
41
47
Docker Compose version v2.28.1
42
48
```
@@ -53,7 +59,7 @@ Iceberg-rust does not require containerization, except for integration tests, wh
- Fix for error: `Error: short-name "apache/iceberg-rest-fixture" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"`
95
+
- Add or modify the `/etc/containers/registries.conf` file:
0 commit comments