Comments (13)
I apologize @mag37 , I forgot the project was old. @Palleri I tried the new project but was having issues, so I reverted to the old. I will give it another try and see if I have the same issues.
from dockcheck.
This is the perfect place to post it :)
Thank you for reminding me - been meaning to compare the brief-version with main to see if I've missed including changes in it.
I've just had a quick glance and it's probably be fixable by changing the line to
for e in "${Excludes[@]}" ; do [[ "$i" == "$e" ]] && continue 2 ; done
But I need to do some testing before I'll publish a change.
from dockcheck.
@mag37 Awesome, thank you!
from dockcheck.
I've did some testing and seems to work as expected, will merge to main.
But I realized the Palleri/DCW have a modified file, not updated by my source so I made a pull request :) hopefully it'll resolve your issue.
from dockcheck.
Thanks again!!
from dockcheck.
@Obsidiannite21
Until it's patched you can run this to fix it (replace dcw
if you've named your contianer differently)
docker exec dcw sed -i '19s/^.*$/ for e in "${Excludes[@]}" ; do [[ "$i" == "$e" ]] \&\& continue 2 ; done/' app/dockcheck.sh
That'll change the specific line of code in the script in the container.
It's the same change I've pull requested to @Palleri
from dockcheck.
Wow, thank you! I appreciate you taking the time to share that with me. It worked except there was 1 minor typo - the / was missing from "/app/dockcheck.sh" just in case anyone else tries to use this. I rebuilt the container and it is excluding things correctly!
from dockcheck.
I'm not sure if this is the right place to post this but I didn't know where would be better.
I use the DockCheck Web project (https://github.com/Palleri/dockcheck-web), to send me push notifications when a container needs to be updated. As I'm sure you're aware this project is based on your script. I'm not a coder but it seems that the Docker build is specifically calling dc_brief.sh. You recently updated the script to more accurately filter excluded container, but it doesn't look like this file was updated, so DockCheck web is still using the old exclude parameters. Would you be able to update this @mag37 ? I compared the code and it looks like this would do the trick but I'm more likely to break something than fix it lol:
[[ "${Excludes[@]}" == ${i} ]] && continue;
Hi, thank you for contributing to the project and sending feedback.
I decided to rewrite the code a bit to make room for other features. Dockcheck-web is being replaced with DCW
Will work pretty much the same. This is the project Mag37 sent a pull request to.
from dockcheck.
@Palleri ah didnt realise @Obsidiannite21 used the old project, that should be pulling the dc_brief.sh
from my project and be fixed already then as I understand it. Neat.
from dockcheck.
@mag37 Yes correct.
Anyway, thank you for making the pull request to DCW aswell. I will make sure to push it as soon as possible.
from dockcheck.
@Obsidiannite21 No worries, I am happy to help you to get the new up and running. Just submit an issue on DCW if you have any problems.
from dockcheck.
@Palleri Will do! I'll try it tonight.
from dockcheck.
Just pushed the update to latest on dockerhub aswell.
Thanks everyone for the feedback.
from dockcheck.
Related Issues (20)
- Keep getting this when i try to update some containers HOT 6
- Add default option HOT 1
- Feature request: Prune after update HOT 1
- "No updates available" when updates are available (Portainer) HOT 10
- Missing license HOT 7
- Custom .env file support HOT 3
- :develop vs :latest HOT 2
- No such file or directory error when updating multiple containers HOT 5
- Issue on Raspberry Pi 4 HOT 1
- [FEATURE REQUEST] dockcheck updater HOT 2
- Q: Recreates even after dockcheck is ran? HOT 3
- Exclude containers HOT 6
- Not finding all updates HOT 5
- New update check doesn't honor -y parameter HOT 2
- Running in systems which needs SUDO before DOCKER command HOT 1
- ConPath does not contain a valid path from com.docker.compose.project.working_dir HOT 4
- No such file or directory HOT 7
- Check for old docker-compose binary fails HOT 1
- Enhancement request: update one by one HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockcheck.