update README

This commit is contained in:
naskya 2024-06-21 08:52:05 +09:00
parent db2fd3d5d4
commit 286f4edf33
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -51,7 +51,9 @@ podman run -it --rm --volume "$(pwd)":/firefish --network network_name \
fishctl ___
```
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`:
Where `network_name` is the network name on which the database is running. If you want to use this for the host network (i.e., use the container as if it were a locally installed command), you should replace `network_name` with `host`.
If you are using a container network (which is typically the case if you are using `docker-compose.yml` to run Firefish), you need to search for your network name by `docker network ls` or `podman network ls`:
```
$ podman network ls # the network name is `firefish_calcnet` in this case
@ -60,8 +62,6 @@ NETWORK ID NAME DRIVER
2f259bab93aa podman bridge
```
If you want to use this in the host network, you should use `host` as the network name.
## Usage
Please make sure to `cd` to the Firefish local repository before running these commands.