Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

issue to run redis through kraft 0.7.5 or 0.7.7 #23

Open
ChaoyiHuang opened this issue Feb 23, 2024 · 1 comment
Open

issue to run redis through kraft 0.7.5 or 0.7.7 #23

ChaoyiHuang opened this issue Feb 23, 2024 · 1 comment

Comments

@ChaoyiHuang
Copy link

kraft 0.7.5
follow the first part of the readme

git clone https://github.com/unikraft/app-redis redis
cd redis/
kraft build

kraft run --target redis-qemu-x86_64-initrd --initrd ./rootfs -p 6379:6379 -- /redis.conf

  1. the --initrd flag is deprecated in favour of --rootfs
  2. Fatal error, can't open config file '/redis.conf': Not a directory
  3. qemu parameters: qemu-system-x86_64 -append /redis.conf -cpu qemu64,+pdpe1gb,-vmx,-svm -daemonize -device virtio-net-pci,mac=02:b0:b0:93:2a:01,netdev=hostnet0 -device pvpanic -device sga -display none -initrd .unikraft/build/initramfs-x86_64.cpio -kernel /home/joehuang_sweden/redis/.unikraft/build/redis-qemu-x86_64-initrd_qemu-x86_64 -machine pc -m size=64M -monitor unix:/root/.local/share/kraftkit/runtime/8bba3d7e-eac4-4c44-9e04-ae7d676bdff3/qemu_mon.sock,server,nowait -name 8bba3d7e-eac4-4c44-9e04-ae7d676bdff3 -netdev user,id=hostnet0,hostfwd=tcp::6379-:6379 -nographic -no-reboot -S -parallel none -pidfile /root/.local/share/kraftkit/runtime/8bba3d7e-eac4-4c44-9e04-ae7d676bdff3/machine.pid -qmp unix:/root/.local/share/kraftkit/runtime/8bba3d7e-eac4-4c44-9e04-ae7d676bdff3/qemu_control.sock,server,nowait -qmp unix:/root/.local/share/kraftkit/runtime/8bba3d7e-eac4-4c44-9e04-ae7d676bdff3/qemu_events.sock,server,nowait -rtc base=utc -serial file:/root/.local/share/kraftkit/runtime/8bba3d7e-eac4-4c44-9e04-ae7d676bdff3/machine.log -smp cpus=1,threads=1,sockets=1 -vga none
@ChaoyiHuang
Copy link
Author

kraft 0.7.7 same issue: Fatal error, can't open config file '/redis.conf': Not a directory

@ChaoyiHuang ChaoyiHuang changed the title issue to run redis through kraft 0.7.5 issue to run redis through kraft 0.7.5 or 0.7.7 Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant