fix test persistentContainerExample
This test requires `electrs` to be enabled. Also, by using `electrs` instead of `clightning` we avoid the bug where clightning hangs at startup when internet access is unavailable. Due to technical limititations, internet access is available in NixOS containers only after the container has started.
This commit is contained in:
@@ -21,8 +21,8 @@ nix run . -- create --start
|
||||
# Run command in container
|
||||
extra-container run mynode -- hostname
|
||||
extra-container run mynode -- systemctl status bitcoind
|
||||
extra-container run mynode -- lightning-cli getinfo
|
||||
extra-container run mynode -- bash -c 'bitcoin-cli -getinfo && lightning-cli getinfo'
|
||||
extra-container run mynode -- bitcoin-cli -getinfo
|
||||
extra-container run mynode -- bash -c 'bitcoin-cli -getinfo && systemctl status electrs'
|
||||
|
||||
# Start shell in container
|
||||
extra-container root-login mynode
|
||||
|
||||
Reference in New Issue
Block a user