diff --git a/README.md b/README.md index 461c30d..0dd5c14 100644 --- a/README.md +++ b/README.md @@ -36,32 +36,20 @@ cargo install --locked --git https://firefish.dev/firefish/firefish-cli.git Using the `registry.firefish.dev/firefish/firefish-cli` container image, `fishctl ___` commands can be executed as ```sh -docker run -it --rm --volume "$(pwd)":/firefish \ +docker run -it --rm --volume "$(pwd)":/firefish --network network_name \ registry.firefish.dev/firefish/firefish-cli \ fishctl ___ # or -podman run -it --rm --volume "$(pwd)":/firefish \ +podman run -it --rm --volume "$(pwd)":/firefish --network network_name \ registry.firefish.dev/firefish/firefish-cli \ fishctl ___ ``` -If you are using a container network (which is typically the case if you using `docker-compose.yml` to run Firefish), you also have to specify the network name like this: +If you are using a container network (which is typically the case if you using `docker-compose.yml` to run Firefish), you can search for your network name by `docker network ls` or `podman network ls`. -```sh -docker run -it --rm --network network_name --volume "$(pwd)":/firefish \ - registry.firefish.dev/firefish/firefish-cli \ - fishctl ___ - -# or - -podman run -it --rm --network network_name --volume "$(pwd)":/firefish \ - registry.firefish.dev/firefish/firefish-cli \ - fishctl ___ -``` - -You can search for your network name by `docker network ls` or `podman network ls`. +If you want to use this in the host network, you should use `host` as the network name. ## Usage