-
10 votes
-
Chinese company wins million-kronor bid to help expand Stockholm metro – the biggest investment in the Swedish capital's public transport in more than four decades
5 votes -
Ten ways government leaders can improve transport mobility
4 votes -
Shared mobility principles for livable cities
8 votes -
Norway does not plan to block China's Huawei Technologies from building the country's 5G telecoms network
5 votes -
How to decommission a data center
7 votes -
How I learned to cycle like a Dutchman
13 votes -
New infrared-based technology promises to give textiles recycling a giant leap forward by replacing manual sorting with an automated method in Finland
3 votes -
Teddy bear fence along Copper Coast Highway poses safety risk to children, South Australia mayors warn
5 votes -
The future is four wheels, cyclists be damned
12 votes -
Driven to despair – road toll charges take centre stage in Norway vote
6 votes -
The reason our streets switched to cul-de-sacs
4 votes -
Why does infrastructure cost so much?
10 votes -
Aarhus on Monday introduced Viking-style traffic lights at seventeen locations in the city
8 votes -
Remembering the forgotten Chinese railroad workers
8 votes -
Tourism is eating the world
8 votes -
A Welsh town will install anti-sex toilets that could spray users with water
12 votes -
Let China build the longest undersea rail tunnel between Finland and Estonia – more geopolitical advantages than risks
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
volumes
entry 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) -f
followed 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