Then the docker exec command will update the securities which will take some time. Replace “myaccount” with the file name in your case.Īt first, it will check if the container is running and start it if needed. Podman ps | grep $CONTAINER 2>/dev/null 1>&2ĭocker exec -it mycontainer gnucash -add-price-quotes /mnt/myaccount.gnucash Now we need to write a script to update the securities in gnucash data file using the container. This will take time since the original image is 75 MB only and Gnucash requires lot of dependencies on this image. Podman exec -interactive -tty mycontainer update Now we need to install gnucash in the Container. Replace egon with your username on Endless OS and leave this session by typing exit This will create the container and open a terminal inside this container for doing your first configuration you can do various tasks like creating a user for you to use: useradd -d /home/egon -s /bin/bash egon Replace “gnucash” with the Folder in which you have data files. –volume /etc/localtime:/etc/localtime:ro -volume /sysroot/home/$(whoami)/gnucash:/mnt ubuntu:19.10 –env DISPLAY -device /dev/dri -device /dev/snd -device /dev/input Podman run -interactive -tty -name mycontainer -volume /tmp/.X11-unix:/tmp/.X11-unix We omit this step instead we use the Folder “gnucash” which contains the Gnucash data files. This will fetch the current stable release of Ubuntu and has Gnucash 3.7 which is same as on Endless OS. On my Computer I have put the files in “gnucash” Folder. Running Ubuntu with Podman and build a Container modifying the instructions to suit your requirements.įirst you need to know the Folder which contains the Gnucash Data Files. If you want to make it work on the Flatpak version you need to read this thread on this forum: This is because Flatpak version of Gnucash does not include Finance::Quote module which works at the background to update the price database. GnuCashTutorial and Concepts Guide The Didactical Documentation Author The GnuCash Documentation Team This Guide contains a tutorial for using 5. If you are using Gnucash to keep your Personal or Business Books of accounts and also maintain the Securities (Shares, Debentures, Mutual Funds etc.) you would have noticed that the Price Database can’t be updated in the Flatpak version of Gnucash. The applications on Endless OS are Flatpak packages.
0 Comments
Leave a Reply. |