-
5 votes
-
Gothenburg port in Sweden has installed the country's first automated sobriety check to prevent drivers over the alcohol limit from venturing on to its road network
4 votes -
A modest proposal to make domestic air travel obsolete
10 votes -
United Nations' Social Impact Investing Initiative (S3I) has opened a new office in Helsinki – further bolstering the UN's presence in Finland
3 votes -
As some locals claim sleep deprivation and environmental racism, I-70 construction will continue into the night for at least a year
6 votes -
Sweden's government has begun looking into a national ticketing system for public transport across the entire country
8 votes -
Minneapolis just banned drive-throughs
9 votes -
Why Uber is a slow-motion tragedy for our cities
8 votes -
Copenhagen has taken bicycle commuting to a whole new level
5 votes -
Who will pay for the huge costs of holding back rising seas?
6 votes -
Why speed kills cities: US cities are dropping urban speed limits in an effort to boost safety and lower crash rates. But the benefits of less-rapid urban mobility don’t end there
7 votes -
Want safe, bikeable streets? Get rid of free parking, as Amsterdam did
14 votes -
Concrete Utopia: An art exhibition on Yugoslavia documents an extraordinary architectural legacy that has been neglected by mainstream historians
7 votes -
Rant: Docker is a labyrinth maze of brick walls and show-stopping issues that has done nothing but slow my development
Firstly, I apologise for the rant. I guess this is a meek follow-up to my submission earlier in ~comp, questioning how to deploy Docker into production. Since then, I haven't been able to dedicate...
Firstly, I apologise for the rant. I guess this is a meek follow-up to my submission earlier in ~comp, questioning how to deploy Docker into production. Since then, I haven't been able to dedicate much time to solving any of the issues I've outlined in that thread, but what I will say is that docker has caused me nothing but pain, and I have realised zero benefits from attempting to utilise it. Right from the start, the syntax for docker, docker-compose, and Dockerfiles is confusing and full of edge cases which no one explains to you in the hype of actually discussing it:
- These 'images' you build grow to insane sizes unless you carefully construct and regiment your
RUN,COPY, and other commands. - Docker complains to you about leaving empty lines in multi-line RUN commands (which is itself, as I see it, basically a hack to get around something called a "layer limit"), even if it contains a comment (which is not an empty line) and does not provide a friendly explanation on how to solve this issue.
- There's basically no good distinction between bind mounts and volumes, and the syntax is even more confusing: declaring a
volumesentry in a docker-compose.yml? You have no good idea if you're creating a volume or a bindmount. - Tutorials & documentation tends to either assume you're a power user who knows this sort of thing, or are so trivial they don't accurately represent a real-world solution, and are therefore basically useless.
I've suffered endless permissions issues trying to run portions of my application, such as being unable to write to log files, or do trivial things like clearing a cache—that I have tried a dozen different ways of fixing with zero success.
Then, when I run some things from within the docker container, such as tests, they can take an excruciatingly long time to run—only then did I discover that this is yet another docker issue. The whole point of docker is to abstract away the host OS and containerise things and it can't even do that.
So now I'm regenerating and rebuilding images and containers every 5 minutes trying to find a configuration that appears to work with the slow and complicated syntax of
docker rm $(docker ps -aq) -ffollowed bydocker rmi $(docker images -q)followed bydocker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d, followed bydocker container exec -it php sh.Docker-sync, kubernetes, docker-compose, images, containers. It's legitimately too much. I'm not a dev-ops or infrastructure guy. I just want to write code and have my app work. I don't have the money to employ anyone to solve this for me (I'm not even employing myself yet).
I guess you can say I've learnt my lesson. I'm sticking to git and a simple VPS for future endeavours. I don't know how you folks who manage to hype docker do it, and I don't know what I'm doing wrong, but Docker doesn't like me, and I don't like it.
21 votes - These 'images' you build grow to insane sizes unless you carefully construct and regiment your
-
Once again authorities are looking at the feasibility of a railway to Tromsø in the north of Norway
6 votes -
Finland's green scheme to invest €40m in cycling and walking – 450 million new journeys on foot or two wheels
5 votes -
Copenhagen's new City Ring metro line is likely to face delays, breakdowns and other operating issues when it finally opens at the end of next month
5 votes -
Car-free in Los Angeles? Don't laugh
9 votes -
Sweden's biggest cities face power shortage after fuel-tax hike
6 votes -
Finnish government plans to allow congestion charges in its cities
3 votes -
How a 'perfect storm' cut off water to this Colorado town
4 votes -
Mapping the effects of the great 1960s ‘freeway revolts’
6 votes -
Denver wants more trees, but arborists say the workforce can’t keep up
8 votes -
Blasting work has started in Bergen on building the longest bicycle and pedestrian tunnel in the world
10 votes -
More utilities plan to use blackouts to prevent wildfires
3 votes -
Invasion of the electric scooter – can our cities cope?
11 votes -
It's time to repaint the Öresund Bridge and it will take thirteen years
5 votes -
Two million in Zimbabwe’s capital have no water as city turns off taps
7 votes -
Blackout hits major sections of Manhattan
13 votes -
The world's first automatic textile recycling facility will be built in Malmö
6 votes -
Why US cities aren’t using more electric buses
6 votes -
Finland to Estonia undersea rail tunnel project has taken a step forward
12 votes -
Norway invites you to explore its electric vehicle paradise
7 votes -
Finland invited me to visit and to learn all about the country's smart cities projects
4 votes -
How Utrecht became a paradise for cyclists
6 votes -
The global Cloudflare outage today was caused by a bad regex in a firewall rule that spiked CPU usage to 100% on all machines
23 votes -
Meet the guy who bought a monorail for $1,000
4 votes -
Six Finnish cities are building a model for sustainable urban development
6 votes -
Denmark's first high-speed rail line officially inaugurated
5 votes -
Norway is building the world's first submerged floating tunnel to cross the fjords
7 votes -
How the Swedish town of Eskilstuna became the world capital of recycling
5 votes -
Dutch telephone outage takes out nation’s emergency number for over three hours
9 votes -
The LED traffic light and the danger of "but sometimes!"
7 votes -
Asian countries take a stand against the rich world’s plastic waste
11 votes -
Power has been restored to much of Argentina and Uruguay after a massive electrical failure left tens of millions of people in the dark
8 votes -
Do better bike lanes keep drivers safer?
3 votes -
California's largest utility resorts to blackouts to prevent wildfires
10 votes -
If only experienced cyclists feel safe in a bike lane, then is it a bike lane at all? In Vancouver, a shift to “AAA” (all ages and abilities) bike lanes
15 votes -
Ireland is ready to bet big on battery-powered trains
7 votes -
Bullhead City, Arizona was a retiree paradise. Then came a biblical plague of flies.
8 votes