This image of Karaf is build with a very simple Apache Camel command. It reads the files inside /tmp/in
copying to /tmp/out
.
docker build -t karaf .
docker run --name karaf -p 8101:8101 karaf
Use the password karaf
.
ssh -p 8101 karaf@localhost
- Access:
docker exec -it karaf bash
- Create Input file
echo "TEST" > /tmp/in/test.txt
- Check output
cat /tmp/out/test.txt