Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some more alluxio-fuse image references
Two more references of alluxio-fuse image got fixed, pointed out by rico
here: #13756

pr-link: #13793
change-id: cid-61c0f24f291682ca9bae97faa23886cf8c04c71f
  • Loading branch information
ssz1997 committed Jul 15, 2021
1 parent e420e9d commit 25a4ca1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion integration/csi/Dockerfile
Expand Up @@ -21,5 +21,5 @@ FROM dev as build
RUN cd $GOPATH/src/github.com/Alluxio/alluxio-csi && \
CGO_ENABLED=0 go build -o /usr/local/bin/alluxio-csi

FROM alluxio/alluxio-fuse:latest as final
FROM alluxio/alluxio:latest as final
COPY --from=build /usr/local/bin/alluxio-csi /usr/local/bin/
20 changes: 3 additions & 17 deletions integration/docker/README.md
Expand Up @@ -34,7 +34,7 @@ To build a docker image with
[FUSE](https://docs.alluxio.io/os/user/stable/en/api/FUSE-API.html) support, run

```console
$ docker build -f Dockerfile.fuse -t alluxio-fuse .
$ docker build -t alluxio-fuse .
```

You can add the same arguments supported by the non-FUSE docker file.
Expand All @@ -55,19 +55,5 @@ This removes isolation of the container and should be used with caution.
## Extending docker image with applications
You can easily extend the docker image to include applications to run on top of Alluxio.
In order for the application to access data from Alluxio storage mounted with FUSE, it must run
in the same container as Alluxio. For example, to run TensorFlow with Alluxio inside a docker
container, just edit `Dockerfile.fuse` and replace

```
FROM ubuntu:16.04
```

with

```
FROM tensorflow/tensorflow:1.3.0
```

You can then build the image with the same command for building image with FUSE support and run it.
There is a pre-built docker image with TensorFlow at
https://hub.docker.com/r/alluxio/alluxio-tensorflow/
in the same container as Alluxio FUSE. Simply edit `Dockerfile` to install the applications, and
then build the image with the same command for building image with FUSE support and run it.

0 comments on commit 25a4ca1

Please sign in to comment.