mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-16 00:53:47 -05:00
feat: allow usage without a daemon (#142)
This commit is contained in:
@@ -23,7 +23,7 @@ For example, if using Podman, you might do
|
||||
$ cup -s /run/user/1000/podman/podman.sock check
|
||||
```
|
||||
|
||||
This option is also available in the configuration file and it's best to put it there.
|
||||
This option is also available in the configuration file and it's best to put it there. If both are defined the CLI `-s` option takes precedence.
|
||||
|
||||
<Cards.Card
|
||||
icon={<IconPlug />}
|
||||
@@ -31,6 +31,8 @@ This option is also available in the configuration file and it's best to put it
|
||||
href="/docs/configuration/socket"
|
||||
/>
|
||||
|
||||
To disable Docker/Podman socket use "none" as value.
|
||||
|
||||
## Configuration file
|
||||
|
||||
Cup has an option to be configured from a configuration file named `cup.json`.
|
||||
|
||||
@@ -17,3 +17,12 @@ You can also specify a TCP socket if you're using a remote Docker host or a [pro
|
||||
// Other options
|
||||
}
|
||||
```
|
||||
|
||||
Or use the "none" value to disable any Docker/Podman query:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"socket": "none"
|
||||
// Other options
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user